帮助中心帮助中心
若您需要重复执行一系列命令或希望将其保存供以后引用,请将其存储在程序文件中。MATLAB® 程序的最简单类型是脚本,其中包含一组命令,这些命令与您在命令行中键入的命令完全相同。要获得更高的编程灵活性,可以创建接受输入并返回输出的函数。当您拥有专门的数据结构体或需要许多函数与特殊类型的数据进行交互时,请使用面向对象的编程方法创建类。
您点击的链接对应于以下 MATLAB 命令:
请在 MATLAB 命令行窗口中直接输入以执行命令。Web 浏览器不支持 MATLAB 命令。
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: .
You 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.
Contact your local office