MATLAB コマンド プロンプトからカスタム Simulink ブロック ライブラリのロックを​解除またはロックする​にはどうすればよいで​すか?

カスタムSimulinkブロックライブラリのロックを解除し、いくつかの変更を加えてから、ライブラリを再度ロックする関数を記述したいと思います。その後、これらの変更をライブラリのブロックを参照するモデルを介して伝播したいと考えています。

 Akzeptierte Antwort

MathWorks Support Team
MathWorks Support Team am 22 Jul. 2025

0 Stimmen

これは、MATLAB スクリプトまたは MATLAB コマンド ウィンドウから次のように関数 set_param を使用して実行できます。
set_param('your_library_name','Lock','off')
ライブラリをロックするには、このプロパティを on に設定します。
set_param('your_library_name', 'Lock', 'on')

Weitere Antworten (0)

Kategorien

Mehr zu モデル化 finden Sie in Hilfe-Center und File Exchange

Produkte

Community Treasure Hunt

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

Start Hunting!