Simulink I/O Reading very slow
1 Ansicht (letzte 30 Tage)
Ältere Kommentare anzeigen
My problem concerns input to a simulinnk model reading very slow.
Simulink solver used: Fixed step discrete time using fundamental sampling rate 0.01s
1. I create a large structure of timeseries objects (total of around 600 signals) containing around 2000 samples each, the structure also contains nested structures of timeseries objects. 2. The data-type of the signals are Simulink Numerictype and Simulink Aliastype, also there are Enumerated datatypes and uint8.16.32 being read. 3. The signals is read into simulink using external input parameter, and a root level input port with data type Bus: BusObj, where BusObj is a bus with leaf nodes consisting of both custom data type signals and nested Buses.
The problem is, even when the model is completely empty besides an input port and a terminator, the simulation time is VERY slow, ever second in simulation times takes about 20 seconds in real time, my computer is very good.
Why is this happening?
1 Kommentar
Antworten (0)
Siehe auch
Kategorien
Mehr zu Sources finden Sie in Help Center und File Exchange
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!