Filter löschen
Filter löschen

using of cd command

8 Ansichten (letzte 30 Tage)
Joel
Joel am 12 Apr. 2024
Bearbeitet: Cris LaPierre am 13 Apr. 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 Kommentar
Matt J
Matt J am 12 Apr. 2024
Bearbeitet: Matt J am 12 Apr. 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.

Melden Sie sich an, um zu kommentieren.

Antworten (1)

Cris LaPierre
Cris LaPierre am 13 Apr. 2024
Bearbeitet: Cris LaPierre am 13 Apr. 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.

Kategorien

Mehr zu Startup and Shutdown finden Sie in Help Center und File Exchange

Tags

Community Treasure Hunt

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

Start Hunting!

Translated by