trying to copy written code and it gives an error

4 次查看(过去 30 天)
my friend sent me a program that he worked on, it bassicly transforms every value betwwen 0-10 inside the matrix to a color (green/red/blue black) and then puts it inside a new matrix that counts the max and min of colors every 15 minuts for 6 hours,so its 25 iterasion. the program is done and working on his computer so he sent me the code in a word file, i tried to copy the script to the command window but it gives me this error( its the first function in the program ) and i dont know why.
  3 个评论
Anirudh Singh
Anirudh Singh 2020-7-23
From the error it looks like you did not copy the files while have 'MatrixDinInput' . but try posting full code then only someone get the issue.
Rik
Rik 2020-7-23
Why would someone share code in a word document? Why not use an .m file? That way you don't need to copy anything and you don't give word a chance to change anything.

请先登录,再进行评论。

回答(0 个)

类别

Help CenterFile Exchange 中查找有关 Get Started with MATLAB 的更多信息

标签

Community Treasure Hunt

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

Start Hunting!

Translated by