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

angular - DownloadURL return null in below code -

meteor - inserting data to database gives error "insert failed: Method '/texts/insert' not found" -