필터 지우기
필터 지우기

using of cd command

조회 수: 8 (최근 30일)
Joel
Joel 2024년 4월 12일
편집: Cris LaPierre 2024년 4월 13일
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
Matt J
Matt J 2024년 4월 12일
편집: Matt J 2024년 4월 12일
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.

댓글을 달려면 로그인하십시오.

답변 (1개)

Cris LaPierre
Cris LaPierre 2024년 4월 13일
편집: Cris LaPierre 2024년 4월 13일
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.

카테고리

Help CenterFile Exchange에서 Startup and Shutdown에 대해 자세히 알아보기

태그

Community Treasure Hunt

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

Start Hunting!

Translated by