This is machine translation

Translated by Microsoft
Mouseover text to see original. Click the button below to return to the English version of the page.

Note: This page has been translated by MathWorks. Click here to see
To view all translated materials including this page, select Country from the country navigator on the bottom of this page.


Initialize package and return a handle


myobj = myDeployedModule.initialize()


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.


collapse all

This example shows how to create a handle to a package named myDeployedModule. This handle is then used for calling a deployed MATLAB function called makesqr.

import myDeployedModule

myobj = myDeployedModule.initialize()



Output Arguments

collapse all

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