How to write append a few lines in model_initialize function for a MATLAB function block in Simulink?
3 visualizaciones (últimos 30 días)
Mostrar comentarios más antiguos
I am creating a MATLAB function block in Simulink. For that function block I want to append a few lines of code in the model_initialize function. I know that I can just create an initialize subsystem to write that code. However, I do not want to create a separate initialize block.
Is it possible to generate a few lines of code in the model_initialize function for a MATLAB block in Simulink? This is for Embedded Coder code generation.
0 comentarios
Respuestas (0)
Ver también
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!