フィルターのクリア

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

2 ビュー (過去 30 日間)
Sergio
Sergio 2012 年 3 月 8 日
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)

採用された回答

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

その他の回答 (1 件)

Walter Roberson
Walter Roberson 2012 年 3 月 8 日
set(handles.GZDisc, 'String', num2str(Gz))
  4 件のコメント
Walter Roberson
Walter Roberson 2012 年 3 月 9 日
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 2012 年 3 月 9 日
Gz = c2d(Gs,T,'zoh');
G = evalc('Gz');
set(handles.FTDisc,'String',G);

サインインしてコメントする。

カテゴリ

Help Center および File ExchangeMigrate GUIDE Apps についてさらに検索

Community Treasure Hunt

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

Start Hunting!

Translated by