Problem with control system toolbox

7 次查看(过去 30 天)
I get "Too many input arguments" error every time I use a control toolbox function which involves drawing a plot. Can anyone tell me what's happening? I tried to uninstall and to reinstall control toolbox but it didn't work.

回答(1 个)

Siddharth Jawahar
Siddharth Jawahar 2020-4-11
Hi Lorenzo,
Do you have functions with the same name that might be shadowing the actual functions?
You can use in the MATLAB command line, for example
which -all bode
To see files its brings up with the same name. The first file location is the one that will be used. See if the first returned function location looks something like this
C:\Program Files\MATLAB\R2020a\toolbox\control\ctrlobsolete\bode.m
If not there might be another file shadowing this one.

类别

Help CenterFile Exchange 中查找有关 Simulink 的更多信息

Community Treasure Hunt

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

Start Hunting!

Translated by