Error on using tf function and rlocus
11 次查看(过去 30 天)
显示 更早的评论
Hi
I'm trying to use this simple comand:
>> sys = tf([2 5 1],[1 2 3]);
>> rlocus(sys)
(it's the same as the example in Matlab tf page)
When I run these two lines Matlab diplays as follow:
The specified superclass 'numlti' contains a parse error, cannot be found on MATLAB's search path, or is shadowed by another file with the same name.
I try to search conflicts using
>> path
>> which -all <conflicting_function>
but he says '<conflicting_function>' not found.
How can I fix this?
0 个评论
回答(1 个)
Star Strider
2023-1-11
The correct approach to finding potential overshadowing functions or variables is:
which -all tf
which -all rlocus
and should only produce that sort of result.
Run these from a script or the Command Window:
restoredefaultpath
rehash toolboxcache
then try the example code again.
.
2 个评论
Star Strider
2023-1-12
My pleasure!
I hope MathWorks Support can solve this for you, since otherwise uninstalling and reinstalling MATLAB may be your only option.
另请参阅
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!