MATLAB: GUI How i can call a function transfer to show in a static text…

guiguidestatic texttransfer function

I dont know how call a transfer funtcion to show i a static text
% Discretizar por ZOH
Gz = c2d(Gs,T,'zoh')
set(handles.GZDisc,'',)
assignin('base','Gz',Gz)

Best Answer

I got it
Gz = c2d(Gs,T,'zoh');
G = evalc('Gz');
set(handles.FTDisc,'String',G);