Main Content

myDeployedModule.initialize

Pythonmodule to initialize package and return a handle

Description

myobj= myDeployedModule.initialize()initializes a package consisting of one or more deployed MATLAB®functions. The return value is used as a handle on which any of the functions can be executed.

Examples

collapse all

This example shows how to create a handle to a package namedmyDeployedModule. This handle is then used for calling a deployed MATLAB function calledmakesqr.

import myDeployedModule myobj = myDeployedModule.initialize() print(myobj.makesqr(3)) myobj.terminate()

Output Arguments

collapse all

Output a handle to deployed MATLAB functions, returned as a Python object used to execute deployed MATLAB functions.