Undefined function 'matlab' for input arguments of type 'char'.
1 次查看(过去 30 天)
显示 更早的评论
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
0 个评论
回答(1 个)
Image Analyst
2015-1-16
The last line should not have "char" at the end. It should simply be
plot3(Pa,Pb,Profit);
0 个评论
另请参阅
类别
在 Help Center 和 File Exchange 中查找有关 Startup and Shutdown 的更多信息
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!