Interpreted custom function in Simulink
2 Ansichten (letzte 30 Tage)
Ältere Kommentare anzeigen
Vicente
am 20 Apr. 2015
Kommentiert: Vicente
am 30 Apr. 2015
Hello!
About the "MATLAB Function" block in Simulink, is there any way to avoid the compilation of the respective matlab file and let it be interpreted instead? Because the file is currently using some Matlab functions which prevent the block from compiling (es. try/catch, getfl, etc).
Thank you.
0 Kommentare
Akzeptierte Antwort
Sebastian Castro
am 20 Apr. 2015
Bearbeitet: Sebastian Castro
am 20 Apr. 2015
Yes -- you can use coder.extrinsic to declare those unsupported functions as extrinsic. Check out the "plot" example in the documentation link.
EDIT: Actually, for Try/Catch this still may not work. You can use an Interpreted MATLAB Fcn block in that case.
- Sebastian
Weitere Antworten (0)
Siehe auch
Kategorien
Mehr zu String finden Sie in Help Center und File Exchange
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!