Error During Cause Possible Solution
API is not able to find the MATLAB Runtime Startup MATLAB Runtime is not installed or is not added to the PATH
  1. Check if MATLAB Runtime is installed (default install directory: C:\Program Files\MATLAB\MATLAB Runtime\v911
  2. If installed go to step 3, if not installed, download and install from here: https://www.mathworks.com/products/compiler/matlab-runtime.html
  3. Check if the following directory was added to the Environmental System Variable ‘Path’ directory: ‘C:\Program Files\MATLAB\MATLAB Runtime\v911\runtime\win64’
API is not able to find the preferences file Startup The preferences file parent directory was not added as an environmental variable Add the environmental variable ‘miparAPI’ with value site-packages folder in the Python install path. Default: C:\Users\\AppData\Local\Programs\Python\Python[VERSION]\Lib\site-packages\miparAPI
Python returns error: module 'miparAPI' has no attribute 'initialize' Startup The python library was not properly installed into the environment
  1. navigate to the miparAPI library install directory (default C:\Program Files\miparAPI)
  2. Try executing the following command from a terminal: python setup.py install
  3. If 2 fails, navigate to the system install directory (default: C:\Program Files\miparAPI) # copy contents to your python environment
  4. Execute the following command from a terminal: python setup.py install
activate or activatePK methods fail and License Manager page is not reachable Runtime The license manager was not installed
  1. Download the License Manager package for Windows
  2. Extract the downloaded Install_License_Manager_Win.zip (Right-click > Extract All)
  3. Inside the extracted folder, double-click Install License Manager.bat

Need more help with this?
Chat with an expert now ››

Was this helpful?

Yes No
You indicated this topic was not helpful to you ...
Could you please leave a comment telling us why? Thank you!
Thanks for your feedback.