MatlabNumericArray.ArrayDimensionException

public static class ArrayDimensionException extends RuntimeException

Represents attempting to retrieve or manipulate a MATLAB array as the wrong dimension.

Constructors

ArrayDimensionException

ArrayDimensionException(int actualNumDim, int usedAsNumDim)

Methods

getActualNumberOfDimensions

public int getActualNumberOfDimensions()

The actual number of dimensions the array has.

getUsedNumberOfDimensions

public int getUsedNumberOfDimensions()

The number of dimensions that were used when interacting with the array.