Python module to close a package
a package consisting of one or more deployed MATLAB® functions.
be called on a package handle, after which no functions can be called
on the handle.
If you exit from a script or session,
called automatically. Hence, calling it explicitly is optional, but
a good idea because it frees resources at that point. Alternatively,
you can use
This example shows how to create a handle to a package
myDeployedModule, and close the
handle after calling a deployed MATLAB function.
import myDeployedModule myobj = myDeployedModule.initialize() print(myobj.makesqr(3)) myobj.terminate()