Hi all,
I would like to be able to change one parameter of my model inside of a for loop with LiveLink and then run the model. Does anyone know how to do this? My code looks something like this:
for CED=[1.0:0.01:3.0] model.param.set('C_ED', 'CED[mm]'); model.param.set('C_EP', '1[mm]'); model.param.set('C_EW', '0.5[mm]'); model.param.set('d_ci', '0.5[mm]'); model.param.set('d_nb', '0.4[mm]'); model.sol('sol1').runAll [b1,b2,b3,b4]=graphingfun(model); end
Thanks in advance!