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..

 채택된 답변

James Tursa
James Tursa 2014년 5월 27일
편집: James Tursa 2014년 5월 27일

1 개 추천

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.

추가 답변 (0개)

카테고리

도움말 센터File Exchange에서 Fortran with MATLAB에 대해 자세히 알아보기

질문:

2014년 5월 27일

댓글:

2014년 6월 1일

Community Treasure Hunt

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

Start Hunting!

Translated by