Using Paramater set in Simulink model

I have a simulink model that I want to use a paramater set, however several of the paramaters are arrays, normally I have been using this notation to set up the variable g1 = [1 2 3] and this to access it G1(1) besides for rewriting all the variables is there anyway to get this to work (I am currently storing the variable at paramset.g1 and calling the model using sim('model', paramset)

回答(1 个)

类别

帮助中心File Exchange 中查找有关 Programmatic Model Editing 的更多信息

标签

提问:

2011-7-26

Community Treasure Hunt

Find the treasures in MATLAB Central and discover how the community can help you!

Start Hunting!

Translated by