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

4 views (last 30 days)

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

Accepted Answer

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

More Answers (0)

Categories

Find more on モデル化 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!