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 !
Erick Hernán Huillca Apaza
Erick Hernán Huillca Apaza 2022 年 5 月 5 日
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 ExchangeIntroduction 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