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:

model properties window

now r can used in model:

model window


Comments

Popular posts from this blog

Is there a better way to structure post methods in Class Based Views -

performance - Why is XCHG reg, reg a 3 micro-op instruction on modern Intel architectures? -

jquery - Responsive Navbar with Sub Navbar -