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 个评论
Fangjun Jiang
2020-12-9
run "sys = tf([1 2],[1 0 10])" and what is the error?
Victor Alfonso Andrade Soto
2020-12-9
Fangjun Jiang
2020-12-9
run "ver control" to verify you have the toolbox
Victor Alfonso Andrade Soto
2020-12-10
Walter Roberson
2020-12-10
You do not appear to have Control System Toolbox installed.
Victor Alfonso Andrade Soto
2020-12-10
回答(1 个)
Star Strider
2020-12-9
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 个评论
Victor Alfonso Andrade Soto
2020-12-10
Star Strider
2020-12-10
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.
类别
在 帮助中心 和 File Exchange 中查找有关 Introduction to Installation and Licensing 的更多信息
产品
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!