diff --git a/Modules/FindMatlab.cmake b/Modules/FindMatlab.cmake index c94ef72d4f..82b4543c7c 100644 --- a/Modules/FindMatlab.cmake +++ b/Modules/FindMatlab.cmake @@ -462,27 +462,29 @@ endmacro() .. command:: matlab_extract_all_installed_versions_from_registry This function parses the Windows registry and finds the Matlab versions that - are installed. The found versions are stored in ``matlab_versions``. + are installed. The found versions are stored in a given ````. .. signature:: - matlab_extract_all_installed_versions_from_registry(matlab_versions + matlab_extract_all_installed_versions_from_registry( [REGISTRY_VIEW view]) + :target: matlab_extract_all_installed_versions_from_registry-keyword .. versionadded:: 3.30 - * Output: ``matlab_versions`` is a list of all the versions of Matlab found + * Output: ```` is a list of all the versions of Matlab found * Input: ``REGISTRY_VIEW`` Optional registry view to use for registry interaction. The argument is passed (or omitted) to :command:`cmake_host_system_information` without further checks or modification. .. signature:: - matlab_extract_all_installed_versions_from_registry(win64 matlab_versions) + matlab_extract_all_installed_versions_from_registry( ) + :target: matlab_extract_all_installed_versions_from_registry-positional * Input: ``win64`` is a boolean to search for the 64 bit version of Matlab. Set to ``ON`` to use the 64bit registry view or ``OFF`` to use the 32bit registry view. If finer control is needed, see signature above. - * Output: ``matlab_versions`` is a list of all the versions of Matlab found + * Output: ```` is a list of all the versions of Matlab found The returned list contains all versions under ``HKLM\SOFTWARE\Mathworks\MATLAB``,