Simulink performance regarding virtual and non-virtual buses

조회 수: 18 (최근 30일)
Horace
Horace 2012년 9월 4일
Hi,
I would like to use non-virtual bus objects in Simulink because it gives me a very organized way to duplicate objects multiple times in my model. However, I noticed a HUGE performance loss with bus objects, which I cannot find much information about in the documentation. It is approximately 10-15 times slower than with virtual buses and information stored in the MATLAB workspace instead of the object.
Is this normal? Any ideas on getting around this performacne issue?
Horace

채택된 답변

TAB
TAB 2012년 9월 4일
Non-virtual buses allocates the memory for the inputs as compare to virtual buses which are just graphical representation and doesn't allocate any extra memory.
So if you are using large number of non-virtual buses in the model with complex hierarchy, it may affect the simulation time. It is completely depends on complexity of model and non-virtual buses in the model.

추가 답변 (0개)

카테고리

Help CenterFile Exchange에서 Composite Interfaces에 대해 자세히 알아보기

태그

Community Treasure Hunt

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

Start Hunting!

Translated by