Borrar filtros
Borrar filtros

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

92 visualizaciones (últimos 30 días)
Imen Mani
Imen Mani el 13 de Mayo de 2016
Comentada: Pierre el 31 de Jul. de 2023
please help me ! Thank you !
  2 comentarios
Azzi Abdelmalek
Azzi Abdelmalek el 13 de Mayo de 2016
What is an empty file?
Imen Mani
Imen Mani el 13 de Mayo de 2016
an empty file is a file which contains no line and an empty folder which contains no file

Iniciar sesión para comentar.

Respuesta aceptada

Star Strider
Star Strider el 13 de Mayo de 2016
See the documentation in the dir function under Tips.

Más respuestas (2)

Imen Mani
Imen Mani el 13 de Mayo de 2016
I don't understand how to use it ! please help me !
  2 comentarios
Star Strider
Star Strider el 13 de Mayo de 2016
It’s part of the documentation!
I can’t possibly improve on the description and code provided.
Pierre
Pierre el 31 de Jul. de 2023
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.

Iniciar sesión para comentar.


Imen Mani
Imen Mani el 13 de Mayo de 2016
ok . thank you for your help !

Categorías

Más información sobre File Operations en Help Center y File Exchange.

Community Treasure Hunt

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

Start Hunting!

Translated by