Main Content

numerixCrossAsset Class

Create numerixCrossAsset object to set up Numerix CROSSASSET environment for Java or C++

Description

Creating a numerixCrossAsset object initializes a Numerix® CrossAsset object based on the Numerix data-driven CROSSASSET API. To use the Numerix engine directly from MATLAB®, you must have the CROSSASSET client installed on your local desktop.

You must add the Numerix library file to MATLAB path to use the documentation examples:

  • Add <Numerix software package installation root>/lib to <matlabroot>/toolbox/local/librarypath.txt

    or

  • Place <Numerix software package installation root>/lib/NxProjava.dll in the folder <matlabroot>/bin/win64

In addition, when using the Java® SDK API, you must add \NumeriX_Java_12_3_0_2\lib\NxProJava.jar to the MATLAB file classpath.txt.

Creation

c = numerixCrossAsset constructs the numerixCrossAsset object and sets up the Numerix CROSSASSET environment using the Java SDK API.

c = numerixCrossAsset(true) constructs the numerixCrossAsset object and sets up the Numerix CROSSASSET environment using the C++ SDK API on Windows®.

Properties

expand all

Application object, created when numerixCrossAsset object is initialized.

Example: app = Application;

Attributes:

GetAccess
public
SetAccess
private

Data Types: object

ApplicationWarning object, created when numerixCrossAsset object is initialized.

Note

The ApplicationWarning object is [] when using the C++ interface.

Example: appWarnings = ApplicationWarning;

Attributes:

GetAccess
public
SetAccess
private

Data Types: object

Methods

expand all

Examples

collapse all

Construct a numerixCrossAsset object for the Java SDK API.

c = numerixCrossAsset 
 c = 

numerixCrossAsset with properties:

Application: [1x1 com.numerix.pro.Application]
ApplicationWarning: [1x1 com.numerix.pro.ApplicationWarning]

Construct a numerixCrossAsset object for the C++ SDK API on Windows.

c = numerixCrossAsset(true) 
 c = 

numerixCrossAsset with properties:

Application: [1×1 fininst.internal.NumerixCAIL]
ApplicationWarning: []

More About

expand all

Version History

Introduced in R2016b

expand all