From 7979a2b52a791d0e22e161a6400590514ed024fe Mon Sep 17 00:00:00 2001 From: Ray Speth Date: Mon, 23 Jan 2017 14:33:31 -0500 Subject: [PATCH] Add Matlab function for checking git commit --- interfaces/matlab/toolbox/canteraGitCommit.m | 9 +++++++++ 1 file changed, 9 insertions(+) create mode 100644 interfaces/matlab/toolbox/canteraGitCommit.m diff --git a/interfaces/matlab/toolbox/canteraGitCommit.m b/interfaces/matlab/toolbox/canteraGitCommit.m new file mode 100644 index 000000000..4e1527d3b --- /dev/null +++ b/interfaces/matlab/toolbox/canteraGitCommit.m @@ -0,0 +1,9 @@ +function v = canteraGitCommit() +% CANTERAGITCOMMIT Get Cantera Git commit hash +% canteraGitCommit() +% +% :return: +% A string containing the Git commit hash for the current version of Cantera +% + +v = ctmethods(0, 7);