Return analysis-script property names and the numeric code for their types from an analysis group.
Syntax |
Description |
---|---|
out = queryanalysisprop("AnalysisGroup") |
Returns a list of the property names and types to a struct "out" from the Analysis Variables in a selected analysis group. |
Examples
The following script gives the first two property names and their types of the analysis group "Qanalysis" to the "out" struct:
select("Qanalysis");
out = queryanalysisprop("Qanalysis");
?out.name{1};
?out.name{2};
?out.type{1};
?out.type{2};
The result is:
t start
f max
3
4
One can also use a loop to get all the results:
for(n=1:length(out.name)){
?out.name{n};
?out.type{n};
}
t start
3
f max
4
make plots
0
f min
4
Please refer adduserprop for more details of the data types.
See Also
adduserprop, querynamed, queryuserprop, queryanalysisresult