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 comentario

lounis chehrit
lounis chehrit el 10 de Jun. de 2021
It seems that the Control system toolbox is not installed !
You have to install It first !

Iniciar sesión para comentar.

 Respuesta aceptada

Ameer Hamza
Ameer Hamza el 26 de Sept. de 2020
Editada: Ameer Hamza el 26 de Sept. de 2020

5 votos

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 comentarios

EL BIARI AYOUB
EL BIARI AYOUB el 29 de Sept. de 2020
Thank you very much !
Erick Hernán Huillca Apaza
Erick Hernán Huillca Apaza el 5 de Mayo de 2022
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 el 5 de Mayo de 2022
You might need to reinstall .
Fernanda
Fernanda el 11 de Mzo. de 2024
Muchas gracias!!

Iniciar sesión para comentar.

Más respuestas (1)

Nasreddine
Nasreddine el 5 de En. de 2025
Editada: Walter Roberson el 5 de En. de 2025
clear all ;
close all ;
clc ;
s=tf('s');
G=0.8/(0.5*s+1);
H=feedback(G,1);
step(H);
grid

1 comentario

Walter Roberson
Walter Roberson el 5 de En. de 2025
I do not understand how this answers the question about tf() not being found?

Iniciar sesión para comentar.

Categorías

Más información sobre Introduction to Installation and Licensing en Centro de ayuda y File Exchange.

Preguntada:

el 26 de Sept. de 2020

Comentada:

el 5 de En. de 2025

Community Treasure Hunt

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

Start Hunting!

Translated by