can someone help me with this error message?

1 Ansicht (letzte 30 Tage)
utakarsha mahajan
utakarsha mahajan am 15 Aug. 2021
Beantwortet: Walter Roberson am 15 Aug. 2021
Not enough input arguments. error

Antworten (1)

Walter Roberson
Walter Roberson am 15 Aug. 2021
You pressed the green Run button to run the code. When you press the green Run button, MATLAB has no way of knowing what the values are for ssgraph, cc, and so on. MATLAB will not go looking in the base workspace or the workspace of the calling function or shared variables to try to hunt down a value for named parameters.
You need to go down to the command line and pass in values explicitly, or you need to write code that makes the right call inside the code. See https://www.mathworks.com/matlabcentral/answers/898532-can-someone-help-me-with-this-error-message#comment_1688877 for an example.

Kategorien

Mehr zu Get Started with MATLAB finden Sie in Help Center und File Exchange

Produkte


Version

R2021a

Community Treasure Hunt

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

Start Hunting!

Translated by