GUI How i can call a function transfer to show in a static text...

1 vue (au cours des 30 derniers jours)
Sergio
Sergio le 8 Mar 2012
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)

Réponse acceptée

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

Plus de réponses (1)

Walter Roberson
Walter Roberson le 8 Mar 2012
set(handles.GZDisc, 'String', num2str(Gz))
  4 commentaires
Walter Roberson
Walter Roberson le 9 Mar 2012
Then I do not understand what you want to do. Are you wanting to display the symbolic form of the transfer function perhaps?
Sergio
Sergio le 9 Mar 2012
Gz = c2d(Gs,T,'zoh');
G = evalc('Gz');
set(handles.FTDisc,'String',G);

Connectez-vous pour commenter.

Catégories

En savoir plus sur Characters and Strings dans Help Center et File Exchange

Community Treasure Hunt

Find the treasures in MATLAB Central and discover how the community can help you!

Start Hunting!

Translated by