Documentation

This is machine translation

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

Note: This page has been translated by MathWorks. Please click here
To view all translated materals including this page, select Japan from the country navigator on the bottom of this page.

myDeployedModule.initialize

Initialize package and return a handle

Syntax

myobj = myDeployedModule.initialize()

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 named myDeployedModule. This handle is then used for calling a deployed MATLAB function called makesqr.

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.

Was this topic helpful?