Problem with control system toolbox

11 visualizzazioni (ultimi 30 giorni)
Lorenzo De Biase
Lorenzo De Biase il 21 Mar 2018
Risposto: Siddharth Jawahar il 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.

Risposte (1)

Siddharth Jawahar
Siddharth Jawahar il 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.

Categorie

Scopri di più su Get Started with Control System Toolbox in Help Center e File Exchange

Community Treasure Hunt

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

Start Hunting!

Translated by