Info
此问题已关闭。 请重新打开它进行编辑或回答。
Hi, i am using an input source in the simulink named as Pulse generator its pulse type is time based and its using simulation time as shown in the attached picture, i want to change its amplitude during simulation run, can someone help how to do it?
1 次查看(过去 30 天)
显示 更早的评论
Hi, I am using an input source in the Simulink named as Pulse generator its pulse type is time-based and its using simulation time as shown in the attached picture, I want to change its amplitude during the simulation run, can someone help how to do it?
0 个评论
回答(1 个)
ES
2017-8-7
You should use set_param to set the properties.
set_param(blockname, 'Amplitude', '5');
0 个评论
此问题已关闭。
另请参阅
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!