Model Referencing Pane properties in ( 2015b) matlab
3 views (last 30 days)
Show older comments
Sandy
on 18 Feb 2016
Commented: Sebastian Castro
on 18 Feb 2016
Hello Simulink users,
I am referring this link http://www.mathworks.com/matlabcentral/answers/230088-what-kind-of-a-solver-do-i-need-to-select-for-solving-simscape-models-combined-with-normal-simulink?s_tid=srchtitle
First of all thanks ‘Sebstian Castro’ for pointing out the model referencing option. I am following help “ Simulation: Configutation parameters:- Diagnostics:- Model referencing. Next, it should show ‘ Model Referencing Pane’ according to the help documentations, but in my Simulink(2015b) does not show it. It shows
model referencing
Model and parameter mismatch: ( three options to select)
Port and parameter mismatch: ( three options to select)
Invalid root inport/outport block connection: ( three options to select)
Unsupported data logging: ( three options to select)
In addition it shows the same options in following two cases.
1. When I open existing model 2. When I create new model.
Main goal is to create hierarchy which will include Simscape model separately as ‘ Sebstain’ Mentioned because my existing models takes too long about ( 30min) with ode 45 and give reasonable results. On the other hand my model is stiff and odel 23t takes (30min) but unacceptable results.
Can you please clear my following two questions.
1. How I can get ‘ Model Referencing Pane’ ? 2. For model referencing, should I create model first and then assign the hierarchy or I should build hierarchy blocks first in a new model? Please help!
0 Comments
Accepted Answer
Sebastian Castro
on 18 Feb 2016
Edited: Sebastian Castro
on 18 Feb 2016
In my original post, I did not mean the "Model Referencing" options in the configuration parameters.
There is a Simulink block called the "Model" block which lets you use model files inside of other model files. This way, you can have a large model consisting of many separate files which can have (certain) separate options -- solvers being one of them.
- Sebastian (a.k.a. Sebstian, Sebstain)
More Answers (1)
Sandy
on 18 Feb 2016
1 Comment
Sebastian Castro
on 18 Feb 2016
Go to Simulation > Model Configuration parameters.
In there, there's a "Solver" section where you can change all the solver options including the solver type ( ode23t being one of them).
- Sebastian
See Also
Categories
Find more on Model References in Help Center and File Exchange
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!