Linking MATLAB with Mathematica
이전 댓글 표시
Hello, I do not have the symbolic math or curve fitting toolbox in MATLAB, so in order to complete my project I have to get help from mathematica. After writing the function in mathematica I tried to import the package (.m file) to MATLAb and I recieved the following error message even though the package is in MATLAB directory: Error using import Import argument 'basicFunction.m' cannot be found or cannot be imported.
Can anyone share his/her knowledge about that? Thanks
채택된 답변
추가 답변 (1개)
Said Rahal
2012년 7월 26일
0 개 추천
댓글 수: 3
Walter Roberson
2012년 7월 26일
No, it is a contributed file. Just has to be downloaded, installed, and compiled.
Said Rahal
2012년 7월 26일
Walter Roberson
2012년 7월 26일
Create a directory. unzip it into the directory. Use pathtool to add the directory to your MATLAB path. Inside MATLAB, use
mex -setup
to select a compiler. If you do not have a compiler already installed, you will need to install one (and possibly a SDK as well.)
I do not know the exact mex command that will be needed to compile, but I suspect that it is documented in the files inside the .zip
카테고리
도움말 센터 및 File Exchange에서 Introduction to Installation and Licensing에 대해 자세히 알아보기
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!