Problem with a function tf

Hello everyone, yesterday i was using Matlab 2020a creating a proyect using de function 'tf' but Matlab doesn't recognize this comand to do a transfer function, i used the correct syntax, I update to Matlab 2020b because i learned that it could be the versión that i used, but i have the same problem, apparently i have already install CONTROL SYSTEM TOOLBOX but it doesn't works

6 Comments

run "sys = tf([1 2],[1 0 10])" and what is the error?
Unrecognize the comand "tf"
run "ver control" to verify you have the toolbox
Undefined function 'tf' for input arguments of type 'double'.
You do not appear to have Control System Toolbox installed.
When i tried to install that complement i saw that there is a message and said that the complements is already install in my computer.

Sign in to comment.

Answers (1)

Run these from a script or your Command Window:
restoredefaultpath
rehash toolboxcache
and try using tf again.
If it still is not working after that, Contact Support

2 Comments

I doesn't work yet
Apparently you never managed to install the Control System Toolbox, although in your original Question, you said that you had installed it.
Contact Support at the link I provided. They will help you figure out how to get it installed and working correctly.

Sign in to comment.

Categories

Products

Tags

Community Treasure Hunt

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

Start Hunting!