'InitFcn' Error in Simulink

4 次查看(过去 30 天)
Sule Soylu
Sule Soylu 2023-3-4
回答: Paul 2023-3-4
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?

回答(1 个)

Paul
Paul 2023-3-4
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.

类别

Help CenterFile Exchange 中查找有关 Simulink 的更多信息

产品


版本

R2022a

Community Treasure Hunt

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

Start Hunting!

Translated by