List of all possible simulation configuration parameters with default values

5 次查看(过去 30 天)
Hello,
my name is Tiago and I am running my Simulink models programatically.
I remember I have seen at some point a link in the MATLAB documentation with all the possible configuration options for running a Simulink model, but now I am not able to find it anymore. It was really useful. Has it been removed? Changed name? Can anyone point me to this comprehensive list?
Just to be clear, by "configuration options" I mean all possible 'Name' commands I can give to the "sim" function, as exemplified below:
SimulationResults = sim(Model, ...
'UnconnectedLineMsg', 'none', ...
'UnconnectedInputMsg', 'none', ...
'UnconnectedOutputMsg', 'none', ...
'IgnoredZcDiagnostic', 'none', ...
'SimulationMode', 'normal', ...
...
'RelTol', '1e-3', ...
'ZeroCrossAlgorithm', 'Adaptive', ...
'MaxConsecutiveZCs', '1e3', ...
'Refine', '2', ...
'MaxStep', '0.001', ...
'MinStep', '0.01', ...
'StopTime', num2str(input.SIM_TIME), ...
'Solver', 'ode15s')
Thank you very much in advance,

回答(1 个)

Payas Bahade
Payas Bahade 2020-5-27
Hi Tiago,
Kindly refer last section of this documentation link to get details about various simulation model configuration parameters like solver, data import/export, diagnostics, etc. If you follow through those links, you will get names of various parameters and their default values too.
Hope this helps!
  1 个评论
Tiago Pomella Lobo
Tiago Pomella Lobo 2020-5-28
Hi Payas!
Thanks for your reply! Indeed, this link I already knew.
Unfortunately, this is not the one I was looking for. I am sure there was a link in the documentation with a complete list of all the possible Model Configuration Parameters. It was basically a table with all the ('Name','Value') pairs you can find in each of the sublinks that you indicated.
I am getting the impression that it doesn't exist anymore, which is a shame becasue it was very comprehensive. If anyone still has that table, I'd appreciate it.
But, in any case, thanks for the suggestion!

请先登录,再进行评论。

类别

Help CenterFile Exchange 中查找有关 Simulink 的更多信息

Community Treasure Hunt

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

Start Hunting!

Translated by