legacy_code : How to set the mex option to -I when calling legacy_code('compile',def);
2 visualizzazioni (ultimi 30 giorni)
Mostra commenti meno recenti
Franck Yin
il 22 Mag 2017
Modificato: Franck Yin
il 31 Mag 2017
When I call the legacy_code function with the 'compile' argument, I have an error saying that the files cannot be found.
Moving the files from their original location to the current folder prevents this error from happening but I don't want to put all my header and source files in the same folder. Said files have been added to the Matlab Path without successs.
0 Commenti
Risposta accettata
Yuebin Zhou
il 25 Mag 2017
Check out this documentation page:
you can specify all compiler options supported by mex in compilerOptions input argument.
1 Commento
Più risposte (0)
Vedere anche
Categorie
Scopri di più su MATLAB Compiler in Help Center e File Exchange
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!