how to invoke a function in generated s function code?
이전 댓글 표시
In the generated code after building Sfunction builder, in the function mdlInitializeSampleTimes() I have to call a user defined function. What settings I have to do so that it will be automatically calling the user defined function inside mdlInitializeSampleTimes()?
댓글 수: 2
Walter Roberson
2013년 1월 23일
How were you thinking of allowing the user to define the function? As best I recall at the moment, Simulink does not allow function handles to be passed.
Ajith
2013년 1월 23일
답변 (0개)
카테고리
도움말 센터 및 File Exchange에서 Simulink Coder에 대해 자세히 알아보기
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!