Main Content

实时脚本和函数

Program files that can include formatted text, images, and output to explain the code

Live scripts and live functions are program files useful for interacting with a series of MATLAB®命令。实时脚本包含产生它们的代码的输出和图形,并在称为Live Editor的单个交互式环境中。实时功能提供了额外的灵活性,使您可以传递输入值并返回输出值。您可以将格式的文本,图像,超链接和方程式添加到实时脚本和函数中,以产生可以与他人共享的交互式叙述。

For more information about live scripts and functions, including incompatibilities and information about the Live Code file format, seeWhat Is a Live Script or Function?

要探索MATLAB社区的现有实时脚本,请参阅MATLAB现场脚本画廊

示例实时脚本

职能

出口 将实时脚本或功能转换为标准格式

话题