MATLAB Answers


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

Asked by woong-ji choi on 19 Apr 2018
Latest activity Commented on by Sergio Tamayo on 14 May 2018
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!


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

Sign in to comment.

2 Answers

Answer by Birdman
on 19 Apr 2018

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

  1 Comment

Sign in to comment.