Skip to content

FindMatlab: Prefer to use VersionInfo.xml to get version, fallback to run

scivision requested to merge scivision/cmake:FindMatlabBatch into master

This is about 100x speedup on fast workstation local drive--perhaps 1000x speedup on network-installed Matlab typical on HPC. Improves reliability as Matlab silently quits or hangs in some misconfigured environments when running Matlab from CMake to get version.

For old Matlab, falls back to running Matlab.

Fixes: #25209 (closed)
Topic-rename: FindMatlab-version

Edited by Brad King

Merge request reports