How do I return an Oracle ref cursor to matlab

1 view (last 30 days)
ho to retreive data from oracle ref cursor when I excute my sql statment I get:
result = fetch(exec(conn,cmd))
result =
Attributes: []
Data: {[1x1 oracle.jdbc.driver.OracleResultSetImpl]}
DatabaseObject: [1x1 database]
RowLimit: 0
SQLQuery: 'select EDB_DI_ADMIN.PKG_GPIS_READ.GetPredictionsForMatlab('avg generation','forecast','li...'
Message: []
Type: 'Database Cursor Object'
ResultSet: [1x1 oracle.jdbc.driver.OracleResultSetImpl]
Cursor: [1x1 com.mathworks.toolbox.database.sqlExec]
Statement: [1x1 oracle.jdbc.driver.OracleStatementWrapper]
Fetch: [1x1 com.mathworks.toolbox.database.fetchTheData]
I dont know how to extract data thanks for your help

Answers (0)

Tags

Products

Community Treasure Hunt

Find the treasures in MATLAB Central and discover how the community can help you!

Start Hunting!