필터 지우기
필터 지우기

Accessing the perference using matlab script

조회 수: 32 (최근 30일)
Mayuresh
Mayuresh 2024년 6월 26일 9:33
답변: Matlab Pro 2024년 6월 26일 14:07
I want to get the Current value that is set for 'MATLAB General Java Heap Memory Preferences' from the Preferences >> General >> MATLAB General Java Heap Memory Preferences tab.

채택된 답변

Matlab Pro
Matlab Pro 2024년 6월 26일 14:07
The next code line will do the works..
prefFile = fullfile(prefdir,'matlab.prf');
txt = fileread(prefFile);
re = regexp(txt,'JavaMemHeapMax=I(?<heapSize>\d+)','names');
heapSize = eval(re.heapSize);

추가 답변 (0개)

카테고리

Help CenterFile Exchange에서 Introduction to Installation and Licensing에 대해 자세히 알아보기

제품


릴리스

R2022a

Community Treasure Hunt

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

Start Hunting!

Translated by