Problem with control system toolbox

11 views (last 30 days)
Lorenzo De Biase
Lorenzo De Biase on 21 Mar 2018
Answered: Siddharth Jawahar on 11 Apr 2020
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.

Answers (1)

Siddharth Jawahar
Siddharth Jawahar on 11 Apr 2020
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.

Categories

Find more on Get Started with Control System Toolbox in Help Center and File Exchange

Community Treasure Hunt

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

Start Hunting!