Writing my code in Word and exporting to MATLAB
1 次查看(过去 30 天)
显示 更早的评论
Hello,
I would like to first write my code in word document or text and then transfer to MATLAB. Could you please let me know if this would be okay or not. Since I am not very familiar with MATHLAB, I thought it is easier to write the codes on Word document.
Thank you very much.
0 个评论
采纳的回答
Mohammad Abouali
2014-10-10
Don't do that.
MATLAB has a nice editor.
Inside matlab just type
edit mycode.m
an editor will open and you can type in your code there. It also checks your code, and recommends improvement to your code.
Once you are done to execute it either within the editor push the run button or go to matlab and type mycode and enter. it would execute your code.
更多回答(0 个)
另请参阅
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!