Lost connections between Blocks when re-opening the Model

2 views (last 30 days)
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.

Answers (0)

Categories

Find more on Simulink Functions in Help Center and File Exchange

Tags

Products

Community Treasure Hunt

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

Start Hunting!