'InitFcn' Error in Simulink

When I run the simulation I made in the simulink, I get an InitFcn error. This is because the values in my .mat file are used in my simulation. How can I integrate this file into this simulation?

Respuestas (1)

Paul
Paul el 4 de Mzo. de 2023

0 votos

Hi Sule,
If running the simulation in the base workspace using the sim command or the run button, just load the .mat file into the base workspace. If running the simulation in a different way, please describe your workflow.

Categorías

Más información sobre Simulink en Centro de ayuda y File Exchange.

Productos

Versión

R2022a

Preguntada:

el 4 de Mzo. de 2023

Respondida:

el 4 de Mzo. de 2023

Community Treasure Hunt

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

Start Hunting!

Translated by