rmcomment

remove comments from m-file or MATLAB code string.

現在この提出コンテンツをフォロー中です。

Remove comments from m-file or MATLAB code string.

Remove the following comments:
1. Starts with %
2. Surrounded by %{ and %} (here, %{ and %} should be at the beginning of the line.
3. any text after three dots

If there is any comment style which is not handled in this code,
please contact to kim92n@gmail.com

引用

Kim Dohyun (2026). rmcomment (https://jp.mathworks.com/matlabcentral/fileexchange/70254-rmcomment), MATLAB Central File Exchange. に取得済み.

謝辞

ヒントを与えたファイル: Remove comments in source code

一般的な情報

MATLAB リリースの互換性

  • すべてのリリースと互換性あり

プラットフォームの互換性

  • Windows
  • macOS
  • Linux
バージョン 公開済み リリース ノート Action
1.1.0

1. Only accept filename
2. Bugfix - string handling.
3. Option for creating new file

1.0.0