丹麦伦,马伦斯
学习如何使用MATLAB®development environment and start programming fast. This video walks you step-by-step through the interface.
Topics include:
此视频通过MATLAB接口中的主窗口步行:命令窗口,工作区,当前文件夹和详细信息窗口,并讨论每个人都在环境中播放的重要角色。接下来,您将了解窗口操作技术,例如对接和取消缓解Windows,创建新窗口,并将桌面重置为默认设置。
然后,视频通过后勤命令播放,包括保存,删除,加载,清除和CLC,允许更容易导航和使用MATLAB窗口。您还将通过MATLAB ToolStrip进行常用的标签和功能,从打开文件绘制数据到设计应用程序。
Finally, you’ll learn about the quick access toolbar, where you can reach basic MATLAB functions like the Save or Switch Windows.
欢迎,Matlab用户,到您的家庭基地编码,您的所有项目都开始,开发环境。今天,我们将向您介绍您在您面前的Matlab界面,并概述其功能。所以先做的第一件事。让我们熟悉这些窗口,在打开Matlab时迎接您。
有命令窗口,工作区,当前文件夹和详细信息文件夹。您将花费大多数时间的窗口是命令窗口。这是您可以定义变量的地方,如x等于1到10或y等于x的日志,并操纵它们以执行任务,如绘图x逗号y。
定义变量时,它将在工作区中显示出来。这是您代码时所有变量居住的地方。你可以看到有关他们的有用信息。另外,如果双击变量,它将在“变量编辑”选项卡中打开,在其中可以以各种方式操纵变量,包括重新排序其内容,转换其内容,并诉诸其内容。那就是少数人。在处理包含大量不同数据的变量时,此选项卡特别有用。
接下来是当前文件夹。在这里,您可以看到当前所在目录的目录的内容和文件层次结构,以及在此层次结构中上下移动。此外,如果我保存我刚刚在MyData下制作的变量,它们会在此窗口中显示,并在我的计算机上的该目录中准备好进行以供进一步使用。最后,我们来到细节窗口。如果我单击当前文件夹中的MyData,其内容会显示详细信息。详细信息方便地预览当前文件夹中文件的内容。
Now that we're comfortable the various MATLAB windows, let's learn how to manipulate them to our liking. Let's use the Command History window, one that is not yet on screen, as our example. You can dock the Command History window for hitting the Up Arrow on the keyboard on the Command window. Then click this arrow here. And in the drop down menu that appears, click Dock.
现在你的命令历史记录,每一个命令你ered recently in the command window, is docked into the MATLAB desktop. You can undock any window by clicking the same arrow and then clicking Undock. Undocked or docked, you can exit out of a window by clicking the x. And then you can bring them back by going to the Layout menu and clicking on their name, like Command History. If you want to restore the default workspace, go up to the Layout menu and hit Default to reset the desktop to default settings.
好的,我们现在了解如何在Matlab桌面中导航和操作Windows。现在是时候键入了一些命令。您需要控制MATLAB桌面的一些基本命令是保存的,它如前所述,将工作区保存到当前文件夹中的DOT垫文件;删除,可以删除当前文件夹中的文件;清除,擦拭擦拭物清洁它的任何已保存变量的工作空间;加载,可以将数据加载到当前文件夹中的工作区;最后,CLC,Wipes清除命令窗口,同时不会从工作区中删除任何东西,这是一个整理环境的重要工具。
所以现在我们非常好地掌握在Matlab Windows中的导航,操纵和运行。接下来,我们拥有Matlab接口的其他非常重要的部分,工具条。刀具条分为选项卡,其中一些全局选项卡始终存在和上下文选项卡,只会在需要时出现。
第一步,我们有主选项卡,其中包含许多重要的命令按钮和Matlab中使用常用功能的图标。您可以制作各种新事物,从实时脚本到模型,打开文件,导入和操作数据,打开Simulink,编辑环境本身,并在您需要时询问帮助。金宝app
The Plots tab is where you can plot selected variables. We can even plot our data from earlier and have it appear in the Figure window. The Apps tab is where you can find all your applications, both ones from MathWorks and ones you've built yourself. You can design or install new apps or utilize ones you already own.
To use an app, like Curve Fitting, just click on it, then load in your data, like our trusty x and y, and examine the results. In addition to the tool strip tabs, up here there is also the Quick Access toolbar, which provides you with many tools that can be utilized throughout MATLAB, like save, copy-paste, and switch windows. A particularly helpful tool in the tool strip is the Help menu, which you can consult for any further questions regarding the MATLAB environment.
OK, we've broken down all the windows and all the tool strips and all the toolbars of MATLAB. Now you can get out there and conquer some code with your knowledge of the MATLAB development environment. Thanks for tuning in, and I'll see you guys in another video.
Featured Product
Select a Web Site
Choose a web site to get translated content where available and see local events and offers. Based on your location, we recommend that you select:.
Selectweb siteYou can also select a web site from the following list:
Select the China site (in Chinese or English) for best site performance. Other MathWorks country sites are not optimized for visits from your location.