Borrar filtros
Borrar filtros

How to read images from folder in online matlab

61 visualizaciones (últimos 30 días)
Keerthi Reddy
Keerthi Reddy el 2 de Jun. de 2020
Comentada: Haroun Rababaah el 19 de Dic. de 2023
I have 6000 images to train a model, in a folder in C drive. How to load these images to online matlab?

Respuestas (1)

Harsh Parikh
Harsh Parikh el 5 de Jun. de 2020
Hi Keerthi,
MATLAB Online usually does not have a direct access to the local system you are working on.
However, MATLAB Online works by creating/accessing/modifying files to/from MATLAB Drive.
The following are the ways to use MATLAB Drive:
Since, you have a directory with 6000 of files, go for the second option.
  • Download MATLAB Drive Connector from the link mentioned above.
  • Go through the installation steps you encounter while installing the connector.
  • Sign in through your MathWorks account.
  • After the installation, you will have a folder in your local system which will work as MATLAB Drive folder.
  • Now, you can use this folder as any regular folder of your local system, however any file created/modified in that folder will be on MATLAB Drive and will be synced across all the devices which access MATLAB Drive through your account.
With the above approach, you will not have to hassle through the pain of uploading and downloading files through any Web Interface.
The folder will remain in your local system, as well as on MathWorks Cloud and works seamlessly across all your devices.
  5 comentarios
Walter Roberson
Walter Roberson el 28 de Oct. de 2021
It would have to prompt for each of the 10000 files.
Haroun Rababaah
Haroun Rababaah el 19 de Dic. de 2023
@Walter Roberson: prompting for an img dir is done once, then the system can read all imgs in that dir.

Iniciar sesión para comentar.

Categorías

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

Etiquetas

Community Treasure Hunt

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

Start Hunting!

Translated by