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 CenterFile Exchange에서 Subsystems에 대해 자세히 알아보기

Community Treasure Hunt

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

Start Hunting!

Translated by