root.documents
no way to compare when less than two revisions
Differences
This shows you the differences between two versions of the page.
— | root.documents [2010/08/04 15:44] (current) – created jochen | ||
---|---|---|---|
Line 1: | Line 1: | ||
+ | ====== root.Documents ====== | ||
+ | ===== Motivation ===== | ||
+ | The reason why I wanted this method is to have an additional interface to access already loaded documents (from within scripts) without being given there handles. The method closely works together with the [[root.Document]] method--please also read this page... | ||
+ | |||
+ | ===== Method reference (' | ||
+ | < | ||
+ | |||
+ | | ||
+ | |||
+ | Input fields: | ||
+ | |||
+ | | ||
+ | or a regexpi list of types ' | ||
+ | |||
+ | | ||
+ | |||
+ | | ||
+ | | ||
+ | |||
+ | ===== Examples ===== | ||
+ | To get a list of handles to all documents currently loaded by the xff class, a call without arguments can be used: | ||
+ | |||
+ | <code matlab xff_root_documents_all.m> | ||
+ | root = xff; | ||
+ | |||
+ | % get handles to all documents | ||
+ | handles = root.Documents;</ | ||
+ | |||
+ | To further restrict the selection, you can give one extension, such as vmr: | ||
+ | |||
+ | <code matlab xff_root_documents_vmrs.m> | ||
+ | root = xff; | ||
+ | |||
+ | % get handles to all VMR documents | ||
+ | vmrs = root.Documents(' | ||
+ | |||
+ | And to get documents of one of several types, a regular expression can be used: | ||
+ | |||
+ | <code matlab xff_root_documents_maps.m> | ||
+ | root = xff; | ||
+ | |||
+ | % get handles to all statistical objects | ||
+ | stats = root.Documents(' |
root.documents.txt · Last modified: 2010/08/04 15:44 by jochen