Lost connections between Blocks when re-opening the Model

3 次查看(过去 30 天)
I have blocks in which i have enabled "modify its contents" under the tab "Initialization" of the Mask. When ever I re-open the Model, the line connections between the Blocks is always broken and I have to re-connect them all over again. I have tried
set_param(gcb,'Lock', 'on')
but it does not work as its a Model and no Parameter named 'Lock' is there in the Mask.

回答(0 个)

类别

Help CenterFile Exchange 中查找有关 Simulink Functions 的更多信息

标签

产品

Community Treasure Hunt

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

Start Hunting!

Translated by