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

1 Ansicht (letzte 30 Tage)
Yellow Canary
Yellow Canary am 16 Jan. 2015
Beantwortet: Image Analyst am 16 Jan. 2015
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

Antworten (1)

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

Kategorien

Mehr zu Startup and Shutdown 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!

Translated by