Model Referencing Pane properties in ( 2015b) matlab
2 visualizaciones (últimos 30 días)
Mostrar comentarios más antiguos
Sandy
el 18 de Feb. de 2016
Comentada: Sebastian Castro
el 18 de Feb. de 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 comentarios
Respuesta aceptada
Sebastian Castro
el 18 de Feb. de 2016
Editada: Sebastian Castro
el 18 de Feb. de 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)
Más respuestas (1)
Sandy
el 18 de Feb. de 2016
1 comentario
Sebastian Castro
el 18 de Feb. de 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
Ver también
Categorías
Más información sobre Model References en Help Center y File Exchange.
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!