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

4 visualizaciones (últimos 30 días)
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

Respuesta aceptada

matthew cammuse
matthew cammuse el 1 de Nov. de 2021
Editada: matthew cammuse el 1 de Nov. de 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.

Más respuestas (0)

Categorías

Más información sobre Simulink en Help Center y File Exchange.

Productos


Versión

R2021a

Community Treasure Hunt

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

Start Hunting!

Translated by