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 Center および MATLAB AnswersOctave についてさらに検索

Community Treasure Hunt

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

Start Hunting!
バージョン 公開済み リリース ノート
1.0.0.0