xtitle('PLANT and CONTROLLER')
mode(2)
+ path=get_absolute_file_path('mixed.dem');
messagebox(['Mixed Sensitivity Controller Design';
- 'file: '+SCI+'/modules/cacsd/demos/mixed.dem'],"modal");
+ 'file: '+path+'mixed.dem'],"modal");
mode(1)
s=poly(0,'s');
str='[(s-1)/((s-1)^2*(s+2))]';
xtitle('PLANT and CONTROLLER')
mode(2);
+ path=get_absolute_file_path('pid.dem');
s=poly(0,'s');z=poly(0,'z');
messagebox(['Example of PID Design '
- 'file: '+SCI+'/modules/cacsd/demos/pid.dem'],"modal");
+ 'file: '+path+'pid.dem'],"modal");
n=x_choose(['Continuous time';'Discrete time'],'Select time domain');
select n
endfunction
demo_pid();
-clear demo_pid;
\ No newline at end of file
+clear demo_pid;