I have a MATLAB executable which does a bunch of things, but in the beginning of the file, I check to see that Python is installed:
function Check_Python()version = pyversion;if ~strcmp(version, '2.7')msgbox('Python 2.7 is not installed/configured correctly!');elsemsgbox('Good!');endend
When I run the executable on a target machine, it never gets passed this check. This is unexpected, as calling
in a Windows Command Prompt returns the proper Python installation (version 2.7.X). However, this works fine on the machine that I compiled the application on.
Why can't MATLAB find the Python installation on this machine, and how can I check that the proper version of Python will be used for the application?