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,
0 个评论
回答(1 个)
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!
另请参阅
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!