How do I find out what toolboxes my Simulink model requires?

34 views (last 30 days)
I tried to use the following command:
tbxes=dependencies.toolboxDependencyAnalysis("flight_Simulator_V3_anime")
But had the following error message returned:
Insufficient number of outputs from right hand side of equal sign to satisfy assignment.
Error in dependencies/toolboxDependencyAnalysis>i_findInfo
Error in dependencies/toolboxDependencyAnalysis>i_findToolboxes
Error in dependencies/toolboxDependencyAnalysis
Did I do something wrong?
  5 Comments
Fangjun Jiang
Fangjun Jiang on 24 Aug 2020
Edited: Fangjun Jiang on 24 Aug 2020
@Sahithi, what is your advice??? 'tbxes' in his command is a return variable. Be mindful that your "STAFF" badge carries weight.
Fangjun Jiang
Fangjun Jiang on 24 Aug 2020
If the example gives you the error, then probably there is problem with your MATLAB/Simulink installation. Simulink is the only required toolbox to run this.

Sign in to comment.

Answers (1)

Codrut Alexandru Dan
Codrut Alexandru Dan on 7 Sep 2021
Edited: Codrut Alexandru Dan on 7 Sep 2021
use tbxes=dependencies.toolboxDependencyAnalysis({'flight_Simulator_V3_anime'}). commas are wrong

Categories

Find more on Introduction to Installation and Licensing in Help Center and File Exchange

Products


Release

R2020a

Community Treasure Hunt

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

Start Hunting!