Displays the results of a query (a cell of structures), or a single structure.
gd_display(qresults)
gd_display(qresults{i})
gd_display(qresults) can be used to display a cell array of structures, e.g. the results of a call to the gd_query or gd_querydeleted function. This is a convenient way of viewing structures to get an overview of their contents.
gd_display(qresults{i}) displays the contents of a structure, e.g. a single result from a query where i is the index of a structure in the cell array.
Display all the results from a query.
r = gd_query('iterations = 9000');
gd_display(r);
*** Content of structure r{1} (Total structures: 2) ***
standard.ID: file_dat_66830074-e749-4de0-b976-61f4d32
standard.localName: file.dat
standard.byteSize: 245
standard.format: dat
standard.createDate: 2004-08-23 10:40:33
standard.archiveDate: 2004-09-03 15:25:45
standard.userID: jlw
standard.comment: Comment about file
standard.datagroups:
model.name: test_design
params:
1.0000 4.7000 5.3000
iterations: 9000
Press ENTER to continue ..., q to quit:
To display just one result from a query use that result’s index.
gd_display(r{1});
Copyright © 2007, The Geodise Project, University of Southampton