Skip to content
Olivier Burri edited this page Jun 2, 2014 · 9 revisions

How to use EasyXT

The idea was to have some complete help pages directly in Matlab so that you could easily consult the options available in each function as 'Property' value pairs, as they are known.

This means that instead of having explicit inputs that need to be put in a particular order like

my_spots = XT.GetObject('Spots', 1, folder); %(Which won't work, btw)

you can enter something like:

    my_spots = XT.GetObject('Type', 'Spots', 'Parent', folder, 'Number', 1);

This selects the first 'Spots' type object from within the group represented by the variable 'folder'. As such. 'Type' is a Property and 'Spots' is the value of that property. The fact that it is first and before the 'Number' property is a choice, but you could just as easily write

    my_spots = XT.GetObject('Parent', folder, 'Type', 'Spots', 'Number', 1);

Clone this wiki locally