Effacer les filtres
Effacer les filtres

Writing my code in Word and exporting to MATLAB

1 vue (au cours des 30 derniers jours)
SC SC
SC SC le 10 Oct 2014
Commenté : SC SC le 10 Oct 2014
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.

Réponse acceptée

Mohammad Abouali
Mohammad Abouali le 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.

Plus de réponses (0)

Catégories

En savoir plus sur Get Started with MATLAB dans Help Center et File Exchange

Community Treasure Hunt

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

Start Hunting!

Translated by