The setPyEnv function is used to create the preferences file in the miparAPI folder in Python install directory

Arguments

Args:
python system path

Valid Path
output of sys.path

Returns:
None

Syntax

mipar.setPyEnv(sysPath)

Examples

# initialize engine and licence manager
import miparAPI
import sys
mipar = miparAPI.initialize()

libPath = sys.path
mipar.setPyEnv(libPath, nargout = 0)

# terminate engine
mipar.terminate()

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.