Writing my code in Word and exporting to MATLAB
1 view (last 30 days)
Show older comments
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 Comments
Accepted Answer
Mohammad Abouali
on 10 Oct 2014
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.
More Answers (0)
See Also
Categories
Find more on Get Started with MATLAB in Help Center and File Exchange
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!