Skip to content
Snippets Groups Projects
Commit be70eff6 authored by Cristian Galperti's avatar Cristian Galperti
Browse files

writegiinfoheader now cleans the whole main build subfolders

parent 9a0a5992
No related branches found
No related tags found
No related merge requests found
......@@ -124,14 +124,14 @@ function writegitinfoheader()
try
cfg=Simulink.fileGenControl('getConfig');
codegenfolder=cfg.CodeGenFolder;
cleancmd = ['rm -f ' codegenfolder '/*.so'];
cleancmd = ['rm -f ' codegenfolder '/SCD_rtccode*'];
[status,result] = system(cleancmd);
if result~=0
warning('Build folder could not be cleaned properly with the command: %s',cleancmd);
status
else
fprintf('Cleaned *.so in %s\n', codegenfolder);
fprintf('Cleaned SCD_rtccode* in %s\n', codegenfolder);
end
catch ME
warning('Exception cleaning expcode build folder %s', codegenfolder);
......
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