필터 지우기
필터 지우기

Which are the parameters that can be updated in Simulink among different simulations with fast restart?

조회 수: 2 (최근 30일)
Hi,
I have included the call of a Simulink model within a for loop. Along the iterations the values of the parameters that the Simulink model reads from the workspaces (base and/or model) to feed the logics embedded within it, change.
In particular, I am using SimEvents blocks and the parameters I referred to are read inside the Event actions or MATLAB Code sections. The problem is that if I use the Fast Restart, in order to reduce the computational burden, the model is not able to read the updated values of the parameters.
So, I am asking if it is possible to overcome this problem in some way or at least to know which are the parameters that it is possible to update with the Fast Restart enabled.

채택된 답변

Pruthvi Muppavarapu
Pruthvi Muppavarapu 2019년 5월 14일
Hi Edoardo,
There are certain model parameters that need recompilation in order to be reflected, there is a limitation on parameters that can be changed for iterative simulation using "Fast Restart". The type of variables which are supported as run-time parameters with Fast Restart enabled are numeric, logical and "Simulink.Parameter" objects.
Please try tuning the parameters for Fast Restart using such variables. Hope this answers your query.
Regards,
Pruthvi

추가 답변 (0개)

카테고리

Help CenterFile Exchange에서 Discrete-Event Simulation에 대해 자세히 알아보기

Community Treasure Hunt

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

Start Hunting!

Translated by