workspace variable path

Where are the workspace variables stored? My working folder has only shortcuts.

 채택된 답변

Arnaud Miege
Arnaud Miege 2011년 4월 20일

0 개 추천

Nowhere, they just reside in memory until you save them with the save command.
HTH,
Arnaud

댓글 수: 5

Maria
Maria 2011년 4월 20일
Once you save them...what's the default path!?
Arnaud Miege
Arnaud Miege 2011년 4월 20일
I don't understand your question: when you save data to a MAT file, the path to that MAT file is the normal Windows path to a file. For example if I save data to c:\Work\MyData.mat, then the path to the MAT file is simply c:\Work\MyData.mat. There's no notion of path for variables, only for files. You can load the data from a MAT file with the load function. The data then resides in your workspace (in memory) until you delete it.
Maria
Maria 2011년 4월 20일
Let me put it in another way. I am working in my computer on an older version of matlab. I want to take my workspace variables, put them in a pendrive, for example, and use them in another computer that has a newer version of the software (and runs faster). When I try to find the mat files in my drive, these are only shortcuts.
Arnaud Miege
Arnaud Miege 2011년 4월 20일
That's probably because Windows thinks MAT files are Microsoft Access shortcuts. Have a look at these:
http://www.mathworks.com/help/techdoc/matlab_env/f8-8880.html#bq4h655-1
http://www.mathworks.com/support/solutions/en/data/1-VW0R7/?solution=1-VW0R7
Maria
Maria 2011년 4월 20일
Well, merci beaucoup. I'll comment later in the week here if I keep having troubles.

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

추가 답변 (0개)

카테고리

도움말 센터File Exchange에서 Variables에 대해 자세히 알아보기

태그

질문:

2011년 4월 20일

Community Treasure Hunt

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

Start Hunting!

Translated by