Skip to content
Brian Wandell edited this page Jun 24, 2016 · 20 revisions

Search for a remote artifact

You can search for artifacts using fuzzy matching on text.

rd = RdtClient('vistasoft');
txt = 'mrInit';  % We will get fuzzy match!
a = rd.searchArtifacts(txt);
rdtPrintArtifactTable(a);

In this case notice that we get multiple file types

rd = RdtClient('isetbio');
txt = 'scene1';
a = rd.searchArtifacts(txt);
rdtPrintArtifactTable(a);

You can restrict the search for specific file types

rd = RdtClient('isetbio');
txt = 'scene1';
a = rd.searchArtifacts(txt,'type','jpg');
rdtPrintArtifactTable(a);

The search is not restricted to just the artifactId string

rd = RdtClient('isetbio');
txt = 'multiband';
a = rd.searchArtifacts(txt,'type','mat');
rdtPrintArtifactTable(a);