이 제출물을 팔로우합니다
- 팔로우하는 게시물 피드에서 업데이트를 확인할 수 있습니다
- 정보 수신 기본 설정에 따라 이메일을 받을 수 있습니다
Architecure to preset a separate location to save data.
Usage:
sd (save data): sd('project_folder/mat_file_name', var1, var2, .... varN)
ld (load data): dat =ld('project_folder/mat_file_name')
sf (save figure): sf()
OR
sf('project_folder/figure_name')
Requires setting RootPath & StoragePath variables in startup such that:
Figures will be saved at RootPath\StoragePath\Results\
Data will be save at RootPath\StoragePath\Data\
My choice is typically: RootPath = pwd; StoragePath = '../../Matlab-Storage'
Saving data generates a structure that can be read in with the loading data function.
Load data loads as a structure, so recursive save/load/save calls will produce ugly nested structures (although these can be useful too!). To avoid this there is an option to generate the full data loading call that will not load the data as a structure. This can be copied & pasted into the terminal to load the variables as they were initially.
Work remaining:
- Add project folder functionality (set project folder as subfolder of Results & Data folders)
- Improved save data saving (auto save all workspace variables)
- Improved save data structure loading (optionally return variables to initial states)
인용 양식
Natalie Mujica-Schwahn (2026). Quick save functions (https://kr.mathworks.com/matlabcentral/fileexchange/182967-quick-save-functions), MATLAB Central File Exchange. 검색 날짜: .
| 버전 | 퍼블리시됨 | 릴리스 정보 | Action |
|---|---|---|---|
| 1.0.0 |
