make up a timing in simulink

hello, Im trying to make up a timing in simulink. I mean my signal have to last 6s and turn off after. I have the Dspace Library linked with the Simulink one but i don't know which block can help me modelize my tempory signal. thank you

 Accepted Answer

Easwar Kumar Yarrabikki
Easwar Kumar Yarrabikki on 14 Feb 2017
Edited: Easwar Kumar Yarrabikki on 14 Feb 2017
Hello , You can use Signal Builder block in Simulinik. This block will allow you to create your customized signal.
You can locate this block under Simulink--> Sources --> Signal Builder
Once you entered into that block you can simply add/ remove signals.
or else you Can also use step signal in simulink.

4 Comments

Hello thank you for answering, i open signal builder but i still don't know how can i make the signal last 6s
Hello I have attached Screenshots from my example. Here I assume my Simulation time is 10 you can change it to yours.
you can move signals with your mouse pointer.
Also you can Change sample time property by going to file--> Simulation Options -->
if you want to inherit sample time you need specify sample time as -1
Hope it will helps you.
Yes it does, Thank you

Sign in to comment.

More Answers (0)

Tags

Community Treasure Hunt

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

Start Hunting!