MATLAB_GIT_VERSION version of the Git2 library used by Matlab

general example of access shared library version info from Matlab using loadlibrary() to call a function in a shared library without a MEX file.

Input: libPath - Full path to the library (optional)

Output: v - version string (e.g., '1.9.0')