I am running the following code:
conn=database('myDatabase','','');curs=exec(conn,'myquery');curs=fetch(curs);
and am getting the following error:
Undefined function or method 'fetch' for input arguments of type 'struct'.
Database Toolbox
conn=database('myDatabase','','');curs=exec(conn,'myquery');curs=fetch(curs);
Best Answer