List of all possible simulation configuration parameters with default values
5 visualizaciones (últimos 30 días)
Mostrar comentarios más antiguos
Tiago Pomella Lobo
el 25 de Mayo de 2020
Comentada: Tiago Pomella Lobo
el 28 de Mayo de 2020
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,
0 comentarios
Respuestas (1)
Payas Bahade
el 27 de Mayo de 2020
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!
Ver también
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!