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

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 Comments
Ankur Bose
on 10 May 2018
Can you click on the 'Details' button and see what is the issue that is causing Initialize Variables to fail?
woong-ji choi
on 10 May 2018
Answers (3)
Lishein Wijesundara Mudiyanselage
on 16 May 2020
3 votes
I am having the same issue, did you find a fix?
2 Comments
Marwan Soliman
on 27 May 2020
I had the same issue, make sure you have the 'Signal Processing Toolbox' installed.
Aabhash Bhandari
on 19 May 2021
@Marwan Soliman this helped. Thanks!
Birdman
on 19 Apr 2018
0 votes
Use File->Model Properties->Model Properties->Callbacks->PreLoadFcn to initialize variables automatically every time you open a Simulink model.
1 Comment
woong-ji choi
on 19 Apr 2018
Sergio Tamayo
on 11 May 2018
0 votes
Which version of MATLAB are you using?
Categories
Find more on Event Functions in Help Center and File Exchange
Products
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!