Skip to content

Instantly share code, notes, and snippets.

@chitchcock
Created September 29, 2011 17:23
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save chitchcock/1251336 to your computer and use it in GitHub Desktop.
Save chitchcock/1251336 to your computer and use it in GitHub Desktop.
Simple printout wrapper for FindDataStoreBlocks
function FindDataStoreInSystem(rootSystemName, dataStoreName)
warning off
%% Get Data
[foundDSRSystems, foundDSWSystems] = FindDataStoreBlocks(rootSystemName, dataStoreName);
%% Printout Data
disp '-----------------------------------------'
disp 'Read Blocks'
disp '-----------------------------------------'
for idx =1:numel (foundDSRSystems)
disp (char(foundDSRSystems(idx)))
end
fprintf('\n')
disp '-----------------------------------------'
disp 'Write Blocks'
disp '-----------------------------------------'
for idx =1:numel (foundDSWSystems)
disp (char(foundDSWSystems(idx)))
end
warning on
end
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment