How do I avoid rapid simulation failures due to large input data sizes?

3 Ansichten (letzte 30 Tage)
I utilize Simulink's rapid simulation mode with batch scripts to speed up my simulation and change the input signal data. I have different size input signal streams, but the simulation fails when the sample size of the input stream is too large. Is there a memory size or a time limit that I can increase to prevent this issue? This is an intermittent problem. The same input signal stream (same size) can fail or pass.
4 Columns of 12528 Samples => Pass!
4 Columns of 24528 Samples => Fail!
[status, result] = system(runstr);
>> status = -1073741819

Akzeptierte Antwort

matthew cammuse
matthew cammuse am 1 Nov. 2021
Bearbeitet: matthew cammuse am 1 Nov. 2021
To anyone interested,
I have resolved my own issue. If you want to run Simulink Rapid Simulations via batch script, you have to set your Inputs' Signal Type to "auto." If you set it to "complex" because your input data is complex, then sim executions will fail for large input datasets.

Weitere Antworten (0)

Kategorien

Mehr zu Simulink finden Sie in Help Center und File Exchange

Produkte


Version

R2021a

Community Treasure Hunt

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

Start Hunting!

Translated by