MATLAB 帮助中心
块注释
%{
%}
%{ 和 %} 将超出一行的注释块括起来。
示例
全部展开
使用 %{ 和 %} 符号向程序添加块注释。除空白字符之外,%{ 和 %} 符号必须在紧挨注释文本块之前和之后另起一行,单独显示。
%{ Block comments are useful for giving longer explanations of code logic and reasoning, instead of using a % symbol at the beginning of each line. %}
在 R2006a 之前推出
%
You clicked a link that corresponds to this MATLAB command:
Run the command by entering it in the MATLAB Command Window. Web browsers do not support MATLAB commands.
选择网站
选择网站以获取翻译的可用内容,以及查看当地活动和优惠。根据您的位置,我们建议您选择:。
您也可以从以下列表中选择网站:
如何获得最佳网站性能
选择中国网站(中文或英文)以获得最佳网站性能。其他 MathWorks 国家/地区网站并未针对您所在位置的访问进行优化。
美洲
欧洲
亚太
联系您当地的办事处