Info

この質問は閉じられています。 編集または回答するには再度開いてください。

Have problem when learn mex

1 回表示 (過去 30 日間)
Pham Ngoc Thanh
Pham Ngoc Thanh 2013 年 4 月 13 日
閉鎖済み: MATLAB Answer Bot 2021 年 8 月 20 日
I'm learning Mex funtion, but when i excute an example mex yprime.c have error: C:\PROGRA~1\MATLAB\R2011B\BIN\MEX.PL: Error: 'yprime.c' not found.
Error using mex (line 206) Unable to complete successfully. Please help me thanks

回答 (1 件)

James Tursa
James Tursa 2013 年 4 月 13 日
The file yprime.c needs to be in your current directory if you don't use the full pathname. So copy the file yprime.c from the MATLAB directory it is located in to your current working directory. It can be found in:
[matlabroot '\extern\examples\mex\yprime.c']
Once you have done this, you can type the command:
mex yprime.c
  1 件のコメント
Pham Ngoc Thanh
Pham Ngoc Thanh 2013 年 4 月 18 日
thanks you very much, I can understand.

この質問は閉じられています。

タグ

タグが未入力です。

Community Treasure Hunt

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

Start Hunting!

Translated by