SimEvents Parameter Sweep Signal Editor
1 view (last 30 days)
Show older comments
Colin Krebbers on 3 Oct 2019
Answered: Zenin Easa Panthakkalakath on 16 Oct 2019
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.
Zenin Easa Panthakkalakath on 16 Oct 2019
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.
Find more on Discrete-Event Simulation in Help Center and File Exchange
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!Start Hunting!