I have a XCOS scheme, where are presents:
My system G(Z)
A Pid controller
Now, I would like to know the closed loop transfer function.
How can i obtain it by scilab/Xcos ?
Thanks
Best
*** EDIT: ****
Following user1149326's suggestions :
loadXcosLibs(); loadScicos();
importXcosDiagram("/home/dursino/Desktop/nostro_sistema.xcos");
for i=1:length(scs_m.objs)
if typeof(scs_m.objs(i))=="Block" & scs_m.objs(i).gui=="SUPER_f" then
scs_m = scs_m.objs(i).model.rpar;
break;
end
end
-->sys = lincos(scs_m);
The last statement return this:
lincos: Unable to find diagram inputs
at line 118 of function lincos called by :
sys = lincos(scs_m);
Best regards