Where does the getappdata() function save its data?

조회 수: 5 (최근 30일)
Christopher Guzman
Christopher Guzman 2019년 10월 18일
댓글: Walter Roberson 2019년 10월 18일
I see it does not show up in the workspace or make a file in the path working directory/current folder

답변 (2개)

Walter Roberson
Walter Roberson 2019년 10월 18일
getappdata returns its output as regular output, same as a+b returns its output. You would want to store the output or use it in an expression or display it.

Steven Lord
Steven Lord 2019년 10월 18일
Are you asking where (in memory, on disk, etc.) saveappdata stores the data that you retrieve with getappdata, so you can retrieve or manipulate it independently of getappdata? I don't think we document exactly where that data is stored so I recommend using the documented way to access that data, that being getappdata. If you have some use case where getappdata isn't doing what you want or need please describe it and maybe that can turn into an enhancement request for getappdata and/or setappdata.
  댓글 수: 1
Walter Roberson
Walter Roberson 2019년 10월 18일
Oh, that. The data is stored in a property named ApplicationData as a struct with field name the same as the property name.

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

카테고리

Help CenterFile Exchange에서 Migrate GUIDE Apps에 대해 자세히 알아보기

Community Treasure Hunt

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

Start Hunting!

Translated by