MATLAB simulink , mask subsystems, how to get the value in popup controller?

2 ビュー (過去 30 日間)
Shiling ?
Shiling ? 2015 年 6 月 11 日
編集済み: Shiling ? 2015 年 6 月 11 日
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 件)

カテゴリ

Help Center および File ExchangeSubsystems についてさらに検索

Community Treasure Hunt

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

Start Hunting!

Translated by