MATLAB: I have a problem with set_param command. please help me

set_param command

hi. i simulate a power system with the Static var compensator(svc). now i want to change a parameter (ki) into svc block from mfile with set_param command.command is:
set_param("powersystem/svc",'ki',10)
But this error is given:
svc (Phasor Type) block (mask) does not have a parameter named 'ki'.
please help me.

Best Answer

It looks like "ki" is not the name of a valid parameter on that block mask. To see the list of parameter names, type the following command and look at the names of the fields of the structure returned:
>> get_param('powersystem/svc', 'DialogParameters')