Skip to content
Snippets Groups Projects
Commit 77b6fcab authored by Federico Felici's avatar Federico Felici
Browse files

Add method to clean up data dictionaries before tests

parent 9f1eef6e
No related branches found
No related tags found
No related merge requests found
......@@ -46,6 +46,16 @@ classdef SCD
SCD.help;
end
function clean_dd()
% Close all data open dictionaries
Simulink.data.dictionary.closeAll('-discard');
% Cleans unversioned data dictionaries
fprintf('Cleaning unversioned data dictionaries for clean test\n')
system('git clean -xf *.sldd'); % clean local sldd
system('git submodule foreach --quiet ''git clean -fx *.sldd'''); % clean submodules too
end
function SCDexps = getexpcodecontainer()
SCDexps = SCDconf_createexpcodes;
end
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment