Problem with control system toolbox

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.

Antworten (1)

Siddharth Jawahar
Siddharth Jawahar am 11 Apr. 2020

0 Stimmen

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.

Kategorien

Mehr zu MATLAB Support Packages finden Sie in Hilfe-Center und File Exchange

Gefragt:

am 21 Mär. 2018

Community Treasure Hunt

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

Start Hunting!

Translated by