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에서 Model, Block, and Port Callbacks에 대해 자세히 알아보기
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!