Call continuous data/wave form from M-file to MATLAB simulink model

i want to run my model for 10-Second. I want sine wave upto 5-sec and then from 5-sec to 10-sec, 2 as a constant value. When i use If or For -loop , i am unable to call the M-file program to simulink model. if anyone to the answer.pleasehelp me.
Thanking you

Réponses (0)

Cette question est clôturée.

Tags

Clôturé :

le 20 Août 2021

Community Treasure Hunt

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

Start Hunting!

Translated by