coder.extrinsic error

조회 수: 2 (최근 30일)
Abhishek Ballaney
Abhishek Ballaney 2018년 1월 2일
답변: Nick Sarnie 2018년 1월 4일
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
Walter Roberson 2018년 1월 3일
Abhishek Ballaney
Abhishek Ballaney 2018년 1월 4일
We're using now coder.ceval and getting the unresolved function error. Using R2011b

댓글을 달려면 로그인하십시오.

답변 (1개)

Nick Sarnie
Nick Sarnie 2018년 1월 4일
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

카테고리

Help CenterFile Exchange에서 Complex Logic에 대해 자세히 알아보기

제품

Community Treasure Hunt

Find the treasures in MATLAB Central and discover how the community can help you!

Start Hunting!

Translated by