coder.extrinsic error
古いコメントを表示
When we're putting coder.extrinsic function call, in our state in the stateflow chart, we're getting following error:
Unresolved function 'coder.extrinsic' in state
If we put the call in MATLAB command line its working fine. Please help in resolving this.
2 件のコメント
Walter Roberson
2018 年 1 月 3 日
It should work; https://www.mathworks.com/help/stateflow/ug/call-extrinsic-functions-in-a-stateflow-chart.html -- but which MATLAB release are you using?
Abhishek Ballaney
2018 年 1 月 4 日
回答 (1 件)
Nick Sarnie
2018 年 1 月 4 日
0 投票
Hi Abhishek,
In R2011b, I recommend creating a MATLAB Function block inside the chart, moving any "coder" calls inside it, and calling that MATLAB function from within a state or junction.
You can find an example of using "coder" calls in a MATLAB Function block inside Stateflow here: https://www.mathworks.com/help/releases/R2011b/toolbox/stateflow/ug/f6-103509.html
カテゴリ
ヘルプ センター および File Exchange で Stateflow についてさらに検索
製品
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!