Filter löschen
Filter löschen

Model Referencing Pane properties in ( 2015b) matlab

2 Ansichten (letzte 30 Tage)
Sandy
Sandy am 18 Feb. 2016
Kommentiert: Sebastian Castro am 18 Feb. 2016
Hello Simulink users,
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!

Akzeptierte Antwort

Sebastian Castro
Sebastian Castro am 18 Feb. 2016
Bearbeitet: Sebastian Castro am 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.
First, check out this video.
Then, the main documentation page is at this location.
- Sebastian (a.k.a. Sebstian, Sebstain)

Weitere Antworten (1)

Sandy
Sandy am 18 Feb. 2016
Hi Sebastian,
Can you please give a hint how solver setting for each mode block can be changed? Like I want to select ode 23t for it.
  1 Kommentar
Sebastian Castro
Sebastian Castro am 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

Melden Sie sich an, um zu kommentieren.

Kategorien

Mehr zu Interactive Model Editing finden Sie in Help Center und File Exchange

Community Treasure Hunt

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

Start Hunting!

Translated by