/
Managing Updates to MATLAB
Managing Updates to MATLAB
R2021a - rows and database return
SQL = ['SELECT study.examno,study.series,study.name, projectgroupstudymri.type, ',...
'analysisfmritype.task,analysisfmritype.chaltype FROM study ',...
'INNER JOIN projectgroupstudymri ON projectgroupstudymri.study_id=study.study_id ',...
'INNER JOIN analysisfmritype ON analysisfmritype.analysisfmritype_id=projectgroupstudymri.analysisfmritype_id ',...
'WHERE projectgroupstudymri.projectgroupstudymri_id=',int2str(projectgroupstudymri_id)];
New
Data = fetch(conn,SQL,'DataReturnFormat','cellarray');
if size(Data,1) > 0
...
end
Old - to replace
curs = exec(conn,SQL);
curs=fetch(curs);
if rows(curs) > 0
...
end
close(curs)
, multiple selections available,
Related content
Latest Updates (release notes)
Latest Updates (release notes)
Read with this
Study table
Study table
More like this
Data organisaton: Study Data, Analysis, LinuxShare
Data organisaton: Study Data, Analysis, LinuxShare
More like this
Debugging
Debugging
More like this
Raw data
Raw data
More like this
Keeping your workspace organized: Office hours 05-28-2021
Keeping your workspace organized: Office hours 05-28-2021
More like this