SimEvents Parameter Sweep Signal Editor

2 次查看(过去 30 天)
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
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