isHG2

버전 1.0.0.0 (2.15 KB) 작성자: Rik
Find out if the Matlab/Octave version running this code is HG1 or HG2.
다운로드 수: 25
업데이트 날짜: 2017/9/18

라이선스 보기

In R2014b, Mathworks completely re-worked the way Matlab handles graphics and objects. For the writing of code itself, the biggest difference is that HG2 supports object.field notation as well as get(object,field). There are other differences, e.g. to separate tick labels you will have to use new line character instead of the | symbol in HG2. In order to write portable code, it can be useful to have such a function, similar to the use of isOctave.
The function returns true for HG2 Matlab releases and false for Octave and HG1 Matlab releases.

인용 양식

Rik (2024). isHG2 (https://www.mathworks.com/matlabcentral/fileexchange/64446-ishg2), MATLAB Central File Exchange. 검색됨 .

MATLAB 릴리스 호환 정보
개발 환경: R2017a
모든 릴리스와 호환
플랫폼 호환성
Windows macOS Linux
카테고리
Help CenterMATLAB Answers에서 Octave에 대해 자세히 알아보기

Community Treasure Hunt

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

Start Hunting!
버전 게시됨 릴리스 정보
1.0.0.0