Output does not get published, error using evalin shows
显示 更早的评论
Every time I try to publish in pdf or doc, only the codes get published. The outputs from the command window do not get published and instead this error message shows up.
Error using evalin
Undefined function 'homework' for input arguments of type 'char'.
These are the codes:
%%Problem 4
% code for problem 4
r=rand(5,4);
m = [4.000 + (25.000-4.000).*r]
m1=max(max(m))
m2=min(min(m))
s1=sum(m)
s2 = sum(m,2)
The name of the file is homework 2
采纳的回答
更多回答(0 个)
类别
在 帮助中心 和 File Exchange 中查找有关 Get Started with MATLAB 的更多信息
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!