필터 지우기
필터 지우기

Simulink I/O Reading very slow

조회 수: 1 (최근 30일)
payam
payam 2015년 8월 26일
댓글: Taufiq Nurrohman 2018년 9월 8일
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 CenterFile Exchange에서 Sources에 대해 자세히 알아보기

태그

Community Treasure Hunt

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

Start Hunting!

Translated by