Problem with a function tf
Show older comments
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
Fangjun Jiang
on 9 Dec 2020
run "sys = tf([1 2],[1 0 10])" and what is the error?
Victor Alfonso Andrade Soto
on 9 Dec 2020
Fangjun Jiang
on 9 Dec 2020
run "ver control" to verify you have the toolbox
Victor Alfonso Andrade Soto
on 10 Dec 2020
Walter Roberson
on 10 Dec 2020
You do not appear to have Control System Toolbox installed.
Victor Alfonso Andrade Soto
on 10 Dec 2020
Answers (1)
Star Strider
on 9 Dec 2020
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
Victor Alfonso Andrade Soto
on 10 Dec 2020
Star Strider
on 10 Dec 2020
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.
Categories
Find more on Introduction to Installation and Licensing in Help Center and File Exchange
Products
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!