matlab - Simulink - Store Variables inside a File -
i know typing r=1 in matlab command line let variable r available open simulink model.
for complex models can make s-function , type in there.
but simpler models, wouldn't wish type command, nor keep .m script aside, .slx file alone, , still having few variables r everywhere in model, , available when open it.
i dont remember if possible, how that?
in simulink model window choose file/model properties/model properties/callbacks:
now r can used in model:


Comments
Post a Comment