MATLAB Answers

0

SimEvents Parameter Sweep Signal Editor

Asked by Colin Krebbers on 3 Oct 2019
Latest activity Answered by Zenin Easa Panthakkalakath on 16 Oct 2019 at 17:27
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

  0 Comments

Sign in to comment.

1 Answer

Answer by Zenin Easa Panthakkalakath on 16 Oct 2019 at 17:27

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

  0 Comments

Sign in to comment.