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일

5 개 추천

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

EL BIARI AYOUB
EL BIARI AYOUB 2020년 9월 29일
Thank you very much !
I have it, but it seems : Warning: No properly formatted Contents.m file was found for 'control'.
> In ver (line 58) .................. at the final
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일

0 개 추천

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?

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

카테고리

도움말 센터File Exchange에서 Introduction to Installation and Licensing에 대해 자세히 알아보기

질문:

2020년 9월 26일

댓글:

2025년 1월 5일

Community Treasure Hunt

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

Start Hunting!

Translated by