SimEvents Parameter Sweep Signal Editor

조회 수: 1 (최근 30일)
Colin Krebbers
Colin Krebbers 2019년 10월 3일
답변: Zenin Easa Panthakkalakath 2019년 10월 16일
Hi all,
Currently, I'm working on a SimEvents model in Simulink.
For verification purposes I would like to perform a parameter sweep on the various settings available in this model.
I've managed to get this done for block parameters, however, the model also contains a Signal Editor for which I'm not able to set the signal within the sweep.
I expect the problem to be the timeseries necessary for the Signal Editor, not being a fixed value.
The Signal Editor must control an Entity Gate to open/close at times determined during the simulation.
In case you know a solution or a workaround, for example changing the Signal Editor for another actuation block, please let me know.
Kind regards,
Colin

답변 (1개)

Zenin Easa Panthakkalakath
Zenin Easa Panthakkalakath 2019년 10월 16일
Hello Colin,
I understand that the requirement is to be able to enable/disable Entity Gate based on a signal created using Signal Editor.
One way of doing this is to use Message Send block. This block creates an entity whenever the input signal supplied to the Port_Enable it is greater than zero. The output from this block can be connected to the Entity Gate control and the desired results can be achieved.
Regards,
Zenin

카테고리

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