Borrar filtros
Borrar filtros

Info

La pregunta está cerrada. Vuélvala a abrir para editarla o responderla.

Why is the state of action subsystem checked in generated code

1 visualización (últimos 30 días)
Xiaohong shen
Xiaohong shen el 11 de Oct. de 2016
Cerrada: MATLAB Answer Bot el 20 de Ag. de 2021
Hello,
I just worte a matlab level-2 function and created a simple simulink model, refer the figures.
The code generator creates the following code:
The "if statements" at line 43 and 47 are absolutely unnecessary. They just compares the logic state differen between the current and previous function call.
I am sure there is something wrong configed within my matlab level-2 function. But I don't know what.
please help me to eliminate the unnecessary code lines

Respuestas (0)

La pregunta está cerrada.

Community Treasure Hunt

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

Start Hunting!

Translated by