Effacer les filtres
Effacer les filtres

Info

Cette question est clôturée. Rouvrir pour modifier ou répondre.

Have problem when learn mex

3 vues (au cours des 30 derniers jours)
Pham Ngoc Thanh
Pham Ngoc Thanh le 13 Avr 2013
Clôturé : MATLAB Answer Bot le 20 Août 2021
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

Réponses (1)

James Tursa
James Tursa le 13 Avr 2013
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 commentaire
Pham Ngoc Thanh
Pham Ngoc Thanh le 18 Avr 2013
thanks you very much, I can understand.

Cette question est clôturée.

Tags

Aucun tag saisi pour le moment.

Community Treasure Hunt

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

Start Hunting!

Translated by