Undefined function 'nfsftmex' for input arguments of type 'char'

251 views
Skip to first unread message

Dripta Dutta

unread,
Mar 13, 2018, 2:31:13 AM3/13/18
to MTEX
Hello,

Once I start MTEX 5.0.2 in Matlab 2013a using command "startup_mtex", I get an error :  Undefined function 'nfsftmex' for input arguments of type 'char'.

However, I am able to open the import wizard, and import and plot pole figure data. But the moment I try to plot the ODF for the given pole figure, I get the same error mentioned above, followed by a few more (shown in the attached JPEG file).

I have just started learning MTEX and couldn't really understand where am I going wrong. I would really appreciate if anyone could help me out with this.
Matlab_error.jpg

Rüdiger Kilian

unread,
Mar 13, 2018, 4:46:29 AM3/13/18
to mtex...@googlegroups.com
Hi Dripta,
what's in your folder extern/nfft_openMP or in externe/nfft inside your mtex directory?

Cheers,
Rüdiger


Dripta Dutta

unread,
Mar 13, 2018, 5:06:15 AM3/13/18
to MTEX
Hello Dr. Kilian,

I have attached the screenshots of both the folders nfft_openMP and nfft. 
nfft.jpg
nfft_openMP.jpg

ruediger Kilian

unread,
Mar 13, 2018, 6:37:34 AM3/13/18
to mtex...@googlegroups.com
Hi Dripta,

I assume you are running a 64-bit os, right? It might be that 2013a is too old , maybe you could also compile the binaries yourself and see if this works.
There's a very brief description in the readme.md in that folder, you'll need fftw and the most recent development version of nfft (https://github.com/NFFT/nfft).

Cheers,
Rüdier



Dripta Dutta

unread,
Mar 13, 2018, 7:37:07 AM3/13/18
to MTEX
Hello Dr. Kilian,

No, mine is a 32-bit OS. Should I still go ahead and compile the binaries?

ruediger Kilian

unread,
Mar 13, 2018, 8:10:55 AM3/13/18
to mtex...@googlegroups.com
Hi Dripta,

that explains why it's likely working for you - mtex comes only with the 64-bit version, so in that case you need to compile them for your system.

Cheers,
Rüdiger

Ralf Hielscher

unread,
Mar 14, 2018, 9:34:20 AM3/14/18
to MTEX
Dear Dripta,

please find attached 32 bit compiled binaries. Please report whether they work.

Ralf.
nfsftmex.mexw32
nfsoftmex.mexw32

Dripta Dutta

unread,
Mar 16, 2018, 12:33:27 AM3/16/18
to MTEX
Thanks a lot Dr. Hielscher. 

Should I transfer these files into the folders nfft and nfft_openMP?

Ralf Hielscher

unread,
Mar 16, 2018, 2:49:45 AM3/16/18
to mtex...@googlegroups.com
into nfft should be correct.

Ralf.

********************************************************************
Ralf Hielscher                   Tel: +371-531-38556
Fakultät für Mathematik               +371-531-22200 (Sekr.)
Technische Universität Chemnitz  Fax: +371-531-22109
Reichenhainer Str. 39            E-mail: ralf.hi...@mathematik.tu-chemnitz.de
D-09126 Chemnitz                 http://www.tu-chemnitz.de/~rahi
********************************************************************

--
If you want to reduce the number of emails you get through this forum login to https://groups.google.com/forum/?fromgroups=#!forum/mtexmail, click "My membership" and select "Don't send me email updates". You can still get emails on selected topics by staring them.
---
You received this message because you are subscribed to the Google Groups "MTEX" group.
To unsubscribe from this group and stop receiving emails from it, send an email to mtexmail+unsubscribe@googlegroups.com.
Visit this group at https://groups.google.com/group/mtexmail.
For more options, visit https://groups.google.com/d/optout.

Dripta Dutta

unread,
Mar 16, 2018, 5:24:52 AM3/16/18
to MTEX
Thank You Dr. Hielscher. It's working now. I didn't get the error this time while initializing MTEX.
To unsubscribe from this group and stop receiving emails from it, send an email to mtexmail+u...@googlegroups.com.
Reply all
Reply to author
Forward
0 new messages