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

4 visualizzazioni (ultimi 30 giorni)
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

Risposta accettata

matthew cammuse
matthew cammuse il 1 Nov 2021
Modificato: matthew cammuse il 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.

Più risposte (0)

Categorie

Scopri di più su Simulink in Help Center e File Exchange

Prodotti


Release

R2021a

Community Treasure Hunt

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

Start Hunting!

Translated by