%% Get Multiple Model Parameters as Optimization Design Variables

paramname = {'Kp','Ki','Kd'};

load_system('sldo_model1_stepblk');

p_des = sdo.getParameterFromModel('sldo_model1_stepblk',paramname);

% Copyright 2015 The MathWorks, Inc.