LS 関数のような SYSTEM コマンドを実行すると、表示結果が文字化けするのはなぜですか?
Ältere Kommentare anzeigen
コマンドウィンドウから、LS コマンドを実行しています。作業ディレクトリにあるフォルダやファイルを表示したところ、表示結果にゴミのような文字列が含まれて、正しく表示されません。
フォルダ名やファイル名は英語(アルファベット)です。また、ファイル名は、正しく表示されているようです。
以下の結果は、いずれも、正常ではありません。
ls
!ls
system('ls')
Akzeptierte Antwort
Weitere Antworten (0)
Kategorien
Mehr zu 言語の基礎 finden Sie in Hilfe-Center und File Exchange
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!