Skip to content

Instantly share code, notes, and snippets.

Embed
What would you like to do?
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