如何在不注释Matlab中的每一行的情况下进行组注释? [英] How to do group commenting without commenting each line in Matlab?

查看:91
本文介绍了如何在不注释Matlab中的每一行的情况下进行组注释?的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

如何注释一组行而不注释每一行?

How can I comment a group of lines without commenting each line?

例如'c'

/*
printf("hello");
printf("there");
*/

在Matlab中,我唯一知道的方法是注释每一行

in Matlab the only way I know to do this is to comment each line

%disp('hello')
%disp('there')

我有100行要注释掉,我希望像'c'一样对其进行注释.

I have a 100 lines to comment out, I would prefer to group comment it like 'c'.

thx

推荐答案

查看全文

相关文章
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆