Why are some functions listed as not compatible with MATLAB Compiler, when they are in fact used and compilable in the Simulink Standard Library?
2 ビュー (過去 30 日間)
古いコメントを表示
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 件のコメント
採用された回答
Steven Lord
2023 年 3 月 3 日
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.
その他の回答 (0 件)
参考
カテゴリ
Help Center および File Exchange で Create Large-Scale Model Components についてさらに検索
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!