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 Center および 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