isHG2

版本 1.0.0.0 (2.1 KB) 作者: Rik
Find out if the Matlab/Octave version running this code is HG1 or HG2.
27.0 次下载
更新时间 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