Unrecognized function or variable 'zvar'.
2 Ansichten (letzte 30 Tage)
Ältere Kommentare anzeigen
1 Kommentar
John D'Errico
am 14 Jan. 2023
No reason to ask the same identical question twice. I closed your other question.
Antworten (1)
VBBV
am 14 Jan. 2023
xlabel('xvar')
ylabel('yvar')
xlabel('zvar')
If zvar, yvar and xvar are strings or numeric values passed to function viewSolid, then you must define them before. But it seems they are titles for plot axes, so put them in quotes.
6 Kommentare
Stephen23
am 14 Jan. 2023
Indexing is never valid in a function signature, so the function you show will not work.
None of the "viewSolid" functions I found during a quick web search had indexing in the function signature.
Siehe auch
Kategorien
Mehr zu Graphics Object Programming finden Sie in Help Center und File Exchange
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!