removeComments(file​name,commentIndicat​or)

Returns the contents of a file with comments stripped.

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

Specify the name of a file and (optionally) the character indicator for a comment, and removeComments will return (in a cell array or a char) the line-by-line contents of the file without comments.

引用

Brett Shoelson (2026). removeComments(filename,commentIndicator) (https://jp.mathworks.com/matlabcentral/fileexchange/48057-removecomments-filename-commentindicator), MATLAB Central File Exchange. に取得済み.

謝辞

ヒントを得たファイル: % MATLAB Comment Stripping Toolbox

一般的な情報

MATLAB リリースの互換性

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

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

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

Updated license

1.0.0.0