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

writegitinfoheader tests

parent f3d27ee6
No related merge requests found
......@@ -117,10 +117,11 @@ function writegitinfoheader()
cfg=Simulink.fileGenControl('getConfig');
codegenfolder=cfg.CodeGenFolder;
cleancmd = ['rm -f ' codegenfolder '/*.so'];
[~,result] = system(cleancmd);
[status,result] = system(cleancmd);
if result~=0cleancmd
if result~=0
warning('Build folder could not be cleaned properly with the command: %s',cleancmd);
status
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