We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 07a54f5 commit 817de5fCopy full SHA for 817de5f
1 file changed
scripts/get_matlab_version_xml.py
@@ -1,3 +1,10 @@
1
+"""
2
+get Matlab version by parsing VersionInfo.xml
3
+This file is present back to at least Matlab R2016a
4
+This is much faster than running `matlab -batch "disp(version)"` and parsing the output,
5
+which can take several to tens of seconds to start up Matlab.
6
7
+
8
import argparse
9
import xml.etree.ElementTree as ET
10
import shutil
0 commit comments