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

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.

主站蜘蛛池模板: 论坛| 三门县| 洞头县| 石楼县| 新乐市| 张掖市| 丰都县| 六枝特区| 湄潭县| 锡林浩特市| 鄂托克前旗| 镇赉县| 顺义区| 永胜县| 无极县| 颍上县| 屏南县| 佳木斯市| 隆尧县| 观塘区| 石河子市| 玉龙| 镇原县| 襄汾县| 河北区| 建阳市| 藁城市| 屯门区| 浏阳市| 隆尧县| 鄂伦春自治旗| 手游| 张掖市| 化德县| 高邮市| 凤庆县| 汝南县| 会东县| 漯河市| 钟山县| 九江市|