ILNumerics Ultimate VS

MatFileItem Property

ILNumerics Ultimate VS Documentation
ILNumerics - Technical Application Development
Retrieves an array from this MatFile instance or replaces it.

[ILNumerics Core Module]

Namespace:  ILNumerics
Assembly:  ILNumerics.Core (in ILNumerics.Core.dll) Version: 5.5.0.0 (5.5.7503.3146)
Syntax

public BaseArray this[
	string name
] { get; set; }

Parameters

name
Type: SystemString
The name of the array to retrieve or replace.

Property Value

Type: BaseArray
Exceptions

ExceptionCondition
ArgumentExceptionIf the name violates a Matlab naming rule.
Remarks

The 'get' accessor is provided for compatibility reasons only. It may be removed in a future version! Use one of the typed retrieval functions GetArrayT(String) or GetArrayT(Int32) instead.

For get access the name must exist as key in the container. Use the MatFile.Keys property to get a list of all names if needed

For set access, the name given must not be null or empty. It cannot be one of the ReservedKeywords. If the name allready exist in the collection as name, the array currently assigned to it will be replaced. If the value is null, the current array will be removed from the list. If the name does not already exist, the new array will be added and assigned to this name.

Restrictions on array names: Matlab allows variables to have names of maximum length 63. Longer names are abbreviated. Names must start with a letter and contain only digits, (ASCII) letters or underscores '_'.

[ILNumerics Core Module]

See Also

Reference