MATLAB コマンド プロンプトからカスタム Simulink ブロック ライブラリのロックを解除またはロックするにはどうすればよいですか?
4 views (last 30 days)
Show older comments
MathWorks Support Team
on 22 Jul 2025
Answered: MathWorks Support Team
on 22 Jul 2025
カスタムSimulinkブロックライブラリのロックを解除し、いくつかの変更を加えてから、ライブラリを再度ロックする関数を記述したいと思います。その後、これらの変更をライブラリのブロックを参照するモデルを介して伝播したいと考えています。
Accepted Answer
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')
0 Comments
More Answers (0)
See Also
Products
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!