how do i fix Initialize Variables error when starting quadcopter model in simulink?

So when i run asbQuadcopterStart in command line, i get errors in Initialize Variables. I clicked continue and when i run the simulation i get the following errors.
I'm not quiet sure how to fix this issue. Please help!

2 个评论

Can you click on the 'Details' button and see what is the issue that is causing Initialize Variables to fail?

请先登录,再进行评论。

回答(3 个)

Use File->Model Properties->Model Properties->Callbacks->PreLoadFcn to initialize variables automatically every time you open a Simulink model.

类别

帮助中心File Exchange 中查找有关 Event Functions 的更多信息

产品

Community Treasure Hunt

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

Start Hunting!

Translated by