MATLAB simulink , mask subsystems, how to get the value in popup controller?
2 次查看(过去 30 天)
显示 更早的评论
I use simulink to create a simple system, as this:
Note that the subsystem only contains a Gain modle , the subsystem is masked with "mask subsystem".
Then I set the parameter of Gain modle in mask editor as this:
when I chose 0.2 for a, the amplitude for sin wave should be 0.2, however , when I choose 0.2, the amplitude for sin wave is 2, the result of the scope is :
It seems that when I chose 0.2, I the true value of a is its index, the problem is how can I get the value in the popup controller?
0 个评论
回答(0 个)
另请参阅
类别
在 Help Center 和 File Exchange 中查找有关 Subsystems 的更多信息
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!