coder.extrinsic error

4 visualizaciones (últimos 30 días)
Abhishek Ballaney
Abhishek Ballaney el 2 de En. de 2018
Respondida: Nick Sarnie el 4 de En. de 2018
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 comentarios
Walter Roberson
Walter Roberson el 3 de En. de 2018
Abhishek Ballaney
Abhishek Ballaney el 4 de En. de 2018
We're using now coder.ceval and getting the unresolved function error. Using R2011b

Iniciar sesión para comentar.

Respuestas (1)

Nick Sarnie
Nick Sarnie el 4 de En. de 2018
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

Categorías

Más información sobre Stateflow en Help Center y File Exchange.

Etiquetas

Productos

Community Treasure Hunt

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

Start Hunting!

Translated by