Skip to content
Snippets Groups Projects
Verified Commit 647ff5cd authored by Sébastien Villemot's avatar Sébastien Villemot
Browse files

MATLAB compatibility: warning subscripting:noSubscriptsSpecified removed in R2023a

parent f07d73e6
No related branches found
No related tags found
No related merge requests found
...@@ -21,7 +21,9 @@ function aggregate(ofile, dynopt, rootfolder, varargin) ...@@ -21,7 +21,9 @@ function aggregate(ofile, dynopt, rootfolder, varargin)
MAX_NUMBER_OF_ELEMENTS = 10000; MAX_NUMBER_OF_ELEMENTS = 10000;
warning off MATLAB:subscripting:noSubscriptsSpecified if ~isoctave && matlab_less_ver_than('9.14') % Warning removed in R2023a
warning off MATLAB:subscripting:noSubscriptsSpecified
end
if ~isempty(dynopt) if ~isempty(dynopt)
% Should be a list of options for the preprocessor in a cell % Should be a list of options for the preprocessor in a cell
...@@ -318,8 +320,9 @@ end ...@@ -318,8 +320,9 @@ end
fprintf(fid, 'end;'); fprintf(fid, 'end;');
fclose(fid); fclose(fid);
warning on MATLAB:subscripting:noSubscriptsSpecified if ~isoctave && matlab_less_ver_than('9.14')
warning on MATLAB:subscripting:noSubscriptsSpecified
end
function b = isequationtag(str) function b = isequationtag(str)
b = true; b = true;
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment