官术网_书友最值得收藏!

The editor

A very important tool in MATLAB, besides the default ones you see when first opening the environment, is the editor. The editor can be invoked in various ways, depending on what you want to accomplish. The three basic ways are:

  • Click on the New Script icon on the HOME tab
  • Click on the New icon on the HOME tab and then click on either one of the first four choices: Script, Function, Example, or Class
  • Click on the Open icon on the HOME tab and then either search for a file in your computer with a .m extension (MATLAB code) by clicking on Open…, or selecting a file from the RECENT FILES list

The EDITOR window

Once you have invoked the editor using any of the ways mentioned previously, a new window will pop up. In this window, you can write, alter, and save your code using a powerful code editor. We will not go into detail here, since to fully comprehend the functionalities of this tool, we first have to learn how to write code in MATLAB.

主站蜘蛛池模板: 邓州市| 台东县| 鄂托克旗| 东宁县| 芜湖县| 玉树县| 额尔古纳市| 阿巴嘎旗| 绥棱县| 旬邑县| 鄂州市| 达拉特旗| 章丘市| 诸城市| 南靖县| 延边| 丰台区| 咸丰县| 台北县| 安宁市| 博乐市| 民权县| 澄江县| 宁河县| 靖安县| 峨山| 福泉市| 公安县| 灵台县| 黎平县| 天全县| 乐业县| 岢岚县| 宽甸| 留坝县| 桑日县| 涿鹿县| 汨罗市| 绥德县| 花垣县| 辉南县|