How do I specify the MATLAB code for the function in an Embedded MATLAB Function Block from the MATLAB command line?
古いコメントを表示
I want to use ADD_BLOCK or a similar block construction command to create an Embedded MATLAB Block and specify the MATLAB code inside the block at the same time.
採用された回答
その他の回答 (1 件)
Muthu Annamalai
2014 年 9 月 3 日
0 投票
I have a untested work-around.You can try using a masked block, including this said Stateflow block, and include the property-change code in the 'init' section of the masked block.
It probably has a chance of working.
カテゴリ
ヘルプ センター および File Exchange で Schedule Model Components についてさらに検索
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!