Why are some functions listed as not compatible with MATLAB Compiler, when they are in fact used and compilable in the Simulink Standard Library?
4 Ansichten (letzte 30 Tage)
Ältere Kommentare anzeigen
Pierre-Augustin
am 3 Mär. 2023
Kommentiert: Pierre-Augustin
am 6 Mär. 2023
For example,
set_param
is listed as not compatible with MATLAB Compiler (see here: https://fr.mathworks.com/help/compiler/unsupported-functions.html)
But it is used in the initialization mask of the Saturation Dynamic block, which is compatible with Simulink Compiler (successfully tested on my end).
How come?
My hypothesis is that the banned function is used during the initialization phase, therefore can be fully resolved during the compilation, and is not used during the runtime. Is that correct?
Thank you.
0 Kommentare
Akzeptierte Antwort
Steven Lord
am 3 Mär. 2023
Some functions and functionality is supported with MATLAB Compiler but not Simulink Compiler.
Some functions and functionality is supported with Simulink Compiler but not MATLAB Compiler.
Some functions and functionality is supported with neither MATLAB Compiler nor Simulink Compiler.
Weitere Antworten (0)
Siehe auch
Kategorien
Mehr zu Simulink Functions 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!