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

bug fix

parent be70eff6
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 '/SCD_rtccode*'];
cleancmd = ['rm -rf ' 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 SCD_rtccode* in %s\n', codegenfolder);
fprintf('Cleaned with command: %s\n', cleancmd);
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