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 -

reflection - How to access the object-members of an object declaration in kotlin -

php - Doctrine Query Builder Error on Join: [Syntax Error] line 0, col 87: Error: Expected Literal, got 'JOIN' -