Effacer les filtres
Effacer les filtres

Simulink I/O Reading very slow

1 vue (au cours des 30 derniers jours)
payam
payam le 26 Août 2015
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 commentaire
Taufiq Nurrohman
Taufiq Nurrohman le 8 Sep 2018
Same Quation here

Connectez-vous pour commenter.

Réponses (0)

Community Treasure Hunt

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

Start Hunting!

Translated by