Unrecognized function or variable 'zvar'.

2 ビュー (過去 30 日間)
Varshini
Varshini 2023 年 1 月 14 日
コメント済み: John D'Errico 2023 年 1 月 14 日
  1 件のコメント
John D'Errico
John D'Errico 2023 年 1 月 14 日
No reason to ask the same identical question twice. I closed your other question.

サインインしてコメントする。

回答 (1 件)

VBBV
VBBV 2023 年 1 月 14 日
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 件のコメント
Stephen23
Stephen23 2023 年 1 月 14 日
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.

サインインしてコメントする。

カテゴリ

Find more on Dates and Time 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!

Translated by