Delaying Signal Builder Start in Simulink

Hello,
I am new to Simulink and I am seeking guidance on how to initiate the Signal Builder in Simulink only when my toggle switch is set to 1, even while the simulation is in progress. Currently, I encounter an issue where the Signal Builder starts simultaneously with the simulation. That is, I want to control when the the Signal Builder starts even while the simulation is running.
Can I please have your advice on how to achieve this?
Thank you

Answers (1)

Try to put the Signal Builder block inside an Enabled Subsystem block.

6 Comments

I attempted it, but unfortunately it was unsuccessful. The Signal Builder initiates concurrently with the simulation, even inside an Enabled Subsystem block.
Do you have any additional suggestions please?
I can't think of other ways. What type and how many signals? Does it have to be Signal Builder?
I have only one signal that it.
This can be done through an 1-D lookup table. The trick is the input.
Use your Switch output to enable an Enabled SubSystem block. Inside, Connect Constant value 1 to an Integrator block and then to an 1-D Lookup Table block. You may neet to figure out how to reset the Integrator if you need to switch back and forth multiple times.
using an integrator block and 1-D Lookup I obtain only one value
could you please share a picture that demonstrates your explanation ?
thank you
Integration of 1 is like the clock but it will only start when the subsystem is enabled.

Sign in to comment.

Categories

Find more on Prepare Model Inputs and Outputs in Help Center and File Exchange

Asked:

on 18 Oct 2023

Commented:

on 24 Oct 2023

Community Treasure Hunt

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

Start Hunting!