User`s guide

attr
7-3
attributes =
1x4 struct array with fields:
fieldName
typeName
typeValue
columnWidth
precision
scale
currency
readOnly
nullable
Message
attributes contains a structure array for three columns in the table inventoryTable.
Display the attribute data for the first column in the table inventoryTable.
attributes(1)
ans =
fieldName: 'PRODUCTNUMBER'
typeName: 'NUMBER'
typeValue: 2.00
columnWidth: 39.00
precision: 38.00
scale: 0
currency: 'true'
readOnly: 'false'
nullable: 'true'
Message: []
Close the cursor and connection.
close(curs)
close(conn)
Retrieve Attribute Data for a Specific Column
Connect to an Oracle database using an ODBC connection. This code assumes that
you are connecting a data source named dbname with user name username and
password pwd. The data source identifies an Oracle database that contains the table