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 ››