マスクパラメータの"評価"をOFFにする

6 views (last 30 days)
motohiro sugimoto
motohiro sugimoto on 23 Oct 2019
Answered: Musashi Ito on 8 Dec 2019
Simulinkブロックのマスクパラメータの属性→評価を”OFF"とすることを
プログラムにより操作するにはどのようにすればよいでしょうか?
2019-10-23.png

Accepted Answer

Musashi Ito
Musashi Ito on 8 Dec 2019
下記のコマンドでマスクパラメータの[評価]を制御できるみたいです。
X = Simulink.Mask.get(gcb)
X.Parameters.Evaluate = 'off'
gcb コマンドは現在選択されているブロックのパスを取得するコマンドです。下記のドキュメンテーションも参考になりそうです。
・マスクパラメータクラス
・プログラムによるマスクの制御

More Answers (0)

Categories

Find more on Author Block Masks in Help Center and File Exchange

Products

Community Treasure Hunt

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

Start Hunting!