Skip to content

Commit 817de5f

Browse files
committed
doc
1 parent 07a54f5 commit 817de5f

1 file changed

Lines changed: 7 additions & 0 deletions

File tree

scripts/get_matlab_version_xml.py

Lines changed: 7 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -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+
18
import argparse
29
import xml.etree.ElementTree as ET
310
import shutil

0 commit comments

Comments
 (0)