Please I want to verify if a file or a folder is empty !?

74 ビュー (過去 30 日間)
Imen Mani
Imen Mani 2016 年 5 月 13 日
コメント済み: Pierre 2023 年 7 月 31 日
please help me ! Thank you !
  2 件のコメント
Azzi Abdelmalek
Azzi Abdelmalek 2016 年 5 月 13 日
What is an empty file?
Imen Mani
Imen Mani 2016 年 5 月 13 日
an empty file is a file which contains no line and an empty folder which contains no file

サインインしてコメントする。

採用された回答

Star Strider
Star Strider 2016 年 5 月 13 日
See the documentation in the dir function under Tips.

その他の回答 (2 件)

Imen Mani
Imen Mani 2016 年 5 月 13 日
I don't understand how to use it ! please help me !
  2 件のコメント
Star Strider
Star Strider 2016 年 5 月 13 日
It’s part of the documentation!
I can’t possibly improve on the description and code provided.
Pierre
Pierre 2023 年 7 月 31 日
Having read the documentation you pointed to, I don't see how it answers the question. I also don't understan how to check if a directory is empty by using the dir function.

サインインしてコメントする。


Imen Mani
Imen Mani 2016 年 5 月 13 日
ok . thank you for your help !

カテゴリ

Help Center および File ExchangeFile Operations についてさらに検索

Community Treasure Hunt

Find the treasures in MATLAB Central and discover how the community can help you!

Start Hunting!

Translated by