subsref

Subscripted reference.

📝 Syntax

  • B = subsref(A, S)

📥 Input argument

  • A - Indexed object array

  • B - Indexing structure

📤 Output argument

  • B - Result of indexing expression

📄 Description

B = subsref(A, S) is invoked when using the syntaxA(i), A{i}, or A.i with an object A.

💡 Examples

Parentheses Indexing

Brace Indexing

Dot Indexing

🕔 History

Version
📄 Description

1.0.0

initial version

Last updated

Was this helpful?