tf function doesn't work

조회 수: 23 (최근 30일)
EL BIARI AYOUB
EL BIARI AYOUB 2020년 9월 26일
댓글: Walter Roberson 2025년 1월 5일
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
lounis chehrit 2021년 6월 10일
It seems that the Control system toolbox is not installed !
You have to install It first !

댓글을 달려면 로그인하십시오.

채택된 답변

Ameer Hamza
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
Walter Roberson
Walter Roberson 2022년 5월 5일
You might need to reinstall .
Fernanda
Fernanda 2024년 3월 11일
Muchas gracias!!

댓글을 달려면 로그인하십시오.

추가 답변 (1개)

Nasreddine
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
Walter Roberson 2025년 1월 5일
I do not understand how this answers the question about tf() not being found?

댓글을 달려면 로그인하십시오.

카테고리

Help CenterFile 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!

Translated by