| C# | Visual Basic | Visual C++ |
public ILBaseArray this[ string name ] { get; set; }
Public Default Property Item ( _ name As String _ ) As ILBaseArray
public: property ILBaseArray^ default[String^ name] { ILBaseArray^ get (String^ name); void set (String^ name, ILBaseArray^ value); }
- name (String)
- the name of the array to display in Matlab
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 allowes variables to have names of maximum length 63. Therefore, if the name given was larger than 63, it will be abbreviated. Names must start with a letter and contain only digits, (ASCII) letters or underscores '_'.
| Exception | Condition |
|---|---|
| ILArgumentException | if the name does not fullfill the restrictions given from Matlab |