
Popup value in Simulink Mask doesn't refresh
4 ビュー (過去 30 日間)
古いコメントを表示
I am currently masking a block in simulink. The mask contains a popup list called dbclist with hardcoded type options (1, 2, 3, ..., 7). The callback function of said popup list looks like this:
msk = Simulink.Mask.get(gcb);
dbcPopup = msk.getParameter('dbclist');
dbcPopup.Value
When changing the value of dbclist while using the mask the command window always responds with:
ans =
1
ans =
1
ans =
1
How can I get the actual value of dbclist? I am using MATLAB 2014b on Mac OS X.
2 件のコメント
sam0037
2016 年 6 月 23 日
Hi,
I am able to see different results by changing the masked parameter 'dbclist'. I have attached a model for illustration. If I have misunderstood the issue then can you elaborate more on the issue? Also, share a reproduction model if possible.
If you are looking for dynamically populating mask parameter popup list then follow the link below:

採用された回答
その他の回答 (0 件)
参考
カテゴリ
Help Center および File Exchange で Sources についてさらに検索
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!