how can i do about error 206?

1 view (last 30 days)
HYUKJIN Song
HYUKJIN Song on 27 May 2014
Commented: HYUKJIN Song on 1 Jun 2014
hi
i'm studying mex, but i don't understand one thing
what can i do about error 206?
internet has much information, but it is not match my conditions
i'm using parallel studio xe 2011 with vs 2008 and visual fortran compiler 2012
1. mex -setup is doing well
2. follow the matlab external interfaces ( mex timestwo.f)
the problem is 2,
mex timestwo.F
D:\BIN\MEX.PL: Error: 'timestwo.F' not found.
error using mex(line 206)
unable to complete successfully.
help please..

Accepted Answer

James Tursa
James Tursa on 27 May 2014
Edited: James Tursa on 27 May 2014
The source code file timestwo.F either needs to be in the current directory, or you need to give the explicit path to the file. That is why MATLAB cannot find it. For the MATLAB supplied example files, however, my advice is to NOT compile them in their original directories. Instead, copy the timestwo.F file to a working directory where you have write privileges, then make that directory your current directory, then issue the mex timestwo.F command again.

More Answers (0)

Categories

Find more on MATLAB Compiler in Help Center and File Exchange

Products

Community Treasure Hunt

Find the treasures in MATLAB Central and discover how the community can help you!

Start Hunting!