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 个评论

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.

请先登录,再进行评论。

回答(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 个评论

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!

Translated by