Borrar filtros
Borrar filtros

using of cd command

8 visualizaciones (últimos 30 días)
Joel
Joel el 12 de Abr. de 2024
Editada: Cris LaPierre el 13 de Abr. de 2024
hello am using matlab on line and i use cd command to call a fil in matalab from my c drive but it show me "Error using cd
Unable to change current folder to '/MATLAB Drive/C:\Users\FUTURA TECH HUB\Downloads\Nouveau dossier' (Name is nonexistent or not a folder)."
  1 comentario
Matt J
Matt J el 12 de Abr. de 2024
Editada: Matt J el 12 de Abr. de 2024
What is the correct folder path you are trying to go to? What input did you give cd()?
It seems pretty clear that the path ''/MATLAB Drive/C:\Users\FUTURA TECH HUB\Downloads\Nouveau dossier'' won't exist.

Iniciar sesión para comentar.

Respuestas (1)

Cris LaPierre
Cris LaPierre el 13 de Abr. de 2024
Editada: Cris LaPierre el 13 de Abr. de 2024
In MATLAB Online, the root folder is /MATLAB Drive/. The file system of MATLAB Online is MATLAB Drive.
The only way to access a local file in your MATLAB Online session is to store it in your local MATLAB Drive folder and sync this to the cloud by installing MATLAB Drive Connector. See Access Files in Your MATLAB Drive
You can then use the command matlabdrive to build a dynamic path to your file that will work in both desktop and online sessions.
Otherwise, you will need to first upload the file to MATLAB Online by dragging and dropping the file into your current folder.
You may also find the Access Files in MATLAB Online page helpful.

Categorías

Más información sobre Startup and Shutdown 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