Same Quation here
Simulink I/O Reading very slow
1 次查看(过去 30 天)
显示 更早的评论
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?
回答(0 个)
另请参阅
类别
在 Help Center 和 File Exchange 中查找有关 Sources 的更多信息
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!