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

starter path script back to master

parent d6615651
No related branches found
No related tags found
No related merge requests found
......@@ -27,17 +27,7 @@ assert(logical(exist(gencodes,'dir')),'folder %s does not exist',gencodes)
fprintf('setting Simulink Cache and CodeGen folders for SCDDSS demo in %s\n',gencodes)
CacheFolder = fullfile(gencodes,'CacheFolder');
CodeGenFolder = fullfile(gencodes,'CodeGenFolder');
% Applying libc patch as per
% https://ch.mathworks.com/support/bugreports/2632298
if ~verLessThan('matlab','9.14')
disp('Applying load_sl_glibc_patch');
load_sl_glibc_patch;
else
disp('Pausing to avoid libc bug 2632298');
pause(10); % old way to avoid libc bug, working up to 2022a on scd server
end
pause(2); % keep this here because matlab is black magic
Simulink.fileGenControl('set',...
'CacheFolder',CacheFolder,...
'CodeGenFolder',CodeGenFolder,...
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment