When I update the Simulink model, I receive an error on the Embedded MATLAB block:
Persistent variable previous_stage must be unambiguously written to before use.
and also:
Output Input_ref must be assigned before returning from the function.
Best Answer