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

Simulinkブロックのマスクパラメータの属性→評価を”OFF"とすることを
プログラムにより操作するにはどのようにすればよいでしょうか?
2019-10-23.png

 Respuesta aceptada

Musashi Ito
Musashi Ito el 8 de Dic. de 2019

1 voto

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

Más respuestas (0)

Categorías

Más información sobre Author Block Masks en Centro de ayuda y File Exchange.

Productos

Preguntada:

el 23 de Oct. de 2019

Respondida:

el 8 de Dic. de 2019

Community Treasure Hunt

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

Start Hunting!