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

조회 수: 3 (최근 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 CenterFile Exchange에서 MATLAB에 대해 자세히 알아보기

Community Treasure Hunt

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

Start Hunting!

Translated by