matlab - Fixed blocks in simulink diagram -
is there solution fixing block in simulink diagram, disable moving/resizing block ? there solution draw kind of shape in simulink (empty rectangles) ? aim fix area in model, user not allowed design model outside area. tried using callback functions no success.
thanks help.
as far know there compromise.
as mentioned in other answer need create subsystem. in block parameters can set readonly
, fixed , greyed out, desired, or noreadorwrite
access, blocked. solution works "naive" users can still change properties access again. maybe find way prevent user entering properties menu.
the secure way more complicated: protected models
regarding question rectangular shape: tried find solution long time , i'd there no way "draw" something, though backround called "canvas" ;)
to other comment: wrong subsystem? can block except block want user play around with. opens in new tab/window , doesn't matter how big everything. want not possible in manner.
Comments
Post a Comment