필터 지우기
필터 지우기

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 CenterFile Exchange에서 Migrate GUIDE Apps에 대해 자세히 알아보기

Community Treasure Hunt

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

Start Hunting!

Translated by