© 2024 Jasper van Baten, AmsterCHEM

capeOpenKillPackage

Destroys a created property package and frees its resources. The package handle can no longer be used after calling this function.

Syntax

capeOpenKillPackage(handle)

Arguments

handle: handle to an existing property package as created by capeOpenGetPackage

Returns

None.

Example


» handle1=capeOpenGetPackage('TEA (CAPE-OPEN 1.1)','C1_C2')

handle1 =

       24381

» handle2=capeOpenGetPackage('Water','')

handle2 =

       30379

» capeOpenGetPackages

ans =

       24381
       30379

» capeOpenKillPackage(handle1)
» capeOpenGetPackages

ans =

       30379

» capeOpenKillPackage(handle1)
??? Error using ==> MatlabCapeOpenThermo
Invalid property package handle
INDEX
Basis conversions
Calculations
capeOpen1PhaseProp
capeOpen1PhasePropList
capeOpen2PhaseProp
capeOpen2PhasePropList
capeOpenAbout
capeOpenAggregationState
capeOpenCompoundConstant
capeOpenCompounds
capeOpenConstantList
capeOpenCreatePackage
capeOpenEquilibrium
capeOpenEquilibriumProp
capeOpenFlashPropList
capeOpenGetPackage
capeOpenGetPackageName
capeOpenGetPackages
capeOpenHelp
capeOpenKillAllPackages
capeOpenKillPackage
capeOpenPackageManagers
capeOpenPackages
capeOpenPDepPropList
capeOpenPhases
capeOpenPropUnit
capeOpen Quick Reference
capeOpenSetBasis
capeOpenShowMessages
capeOpenTDepProp
capeOpenTDepPropList
capeOpenThermoVersion
Disclaimer
Equilibrium calculations
Information
License
Matrix dimension conventions
Obtaining package information
Package information
Package maintenance
Property calculations
Registration with Matlab
pathdef.m
System requirements
Welcome
CONTENT
 Welcome
 Introduction
 Package Maintenance
 capeOpenPackageManagers
 capeOpenPackages
 capeOpenCreatePackage
 capeOpenGetPackage
 capeOpenKillPackage
 capeOpenKillAllPackages
 capeOpenGetPackages
 Package information
 Property and equilibrium calculations
 General functions
 License and disclaimer