フィルターのクリア

Undefined function 'matlab' for input arguments of type 'char'.

2 ビュー (過去 30 日間)
Yellow Canary
Yellow Canary 2015 年 1 月 16 日
回答済み: Image Analyst 2015 年 1 月 16 日
I got this error, message and can't figure it out. Can anyone check the code below and give me an idea? Thank you
fileName = 'Scenario 1 Results.xlsx';
[numerical, stringal] = xlsread(fileName, 'Sheet1');
Pb = numerical(:,1);
Pa = numerical(:,2);
Profit = numerical(:,5);
plot3(Pa,Pb,Profit)char

回答 (1 件)

Image Analyst
Image Analyst 2015 年 1 月 16 日
The last line should not have "char" at the end. It should simply be
plot3(Pa,Pb,Profit);

カテゴリ

Help Center および File ExchangeLoops and Conditional Statements についてさらに検索

Community Treasure Hunt

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

Start Hunting!

Translated by