removeComments(filename,commentIndicator)
バージョン 1.0.0.1 (1.32 KB) 作成者:
Brett Shoelson
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 (2025). removeComments(filename,commentIndicator) (https://www.mathworks.com/matlabcentral/fileexchange/48057-removecomments-filename-commentindicator), MATLAB Central File Exchange. に取得済み.
MATLAB リリースの互換性
作成:
R2014b
すべてのリリースと互換性あり
プラットフォームの互換性
Windows macOS Linuxカテゴリ
- Mathematics and Optimization > Mapping Toolbox > Data Import and Export >
- Radar > Mapping Toolbox > Data Import and Export >
Help Center および MATLAB Answers で Data Import and Export についてさらに検索
タグ
謝辞
ヒントを得たファイル: % MATLAB Comment Stripping Toolbox
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!