tf function doesn't work
조회 수: 23 (최근 30일)
이전 댓글 표시
when I try to use tf function this is what I get :
>> s = tf('s')
Unrecognized function or variable 'tf'.
Did you mean:
>> s = tfe('s')
댓글 수: 1
lounis chehrit
2021년 6월 10일
It seems that the Control system toolbox is not installed !
You have to install It first !
채택된 답변
Ameer Hamza
2020년 9월 26일
편집: Ameer Hamza
2020년 9월 26일
You need to have the control system toolbox: https://www.mathworks.com/help/control/index.html for using tf() function. It seems that you haven't installed this toolbox. Check the output of
ver control
If you have the toolbox installed, it will display the version of toolbox otherwise you don't have the toolbox.
댓글 수: 4
추가 답변 (1개)
Nasreddine
2025년 1월 5일
편집: Walter Roberson
2025년 1월 5일
clear all ;
close all ;
clc ;
s=tf('s');
G=0.8/(0.5*s+1);
H=feedback(G,1);
step(H);
grid
댓글 수: 1
Walter Roberson
2025년 1월 5일
I do not understand how this answers the question about tf() not being found?
참고 항목
카테고리
Help Center 및 File Exchange에서 Introduction to Installation and Licensing에 대해 자세히 알아보기
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!