Changeset 923 for trunk/src/compile.m


Ignore:
Timestamp:
Jan 15, 2016, 11:02:37 AM (8 years ago)
Author:
g7moreau
Message:
  • Update MCRROOT variable with mcrversion matlab function
File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/src/compile.m

    r908 r923  
    4343    SubfctPath=['-I ' SubfctPath];%string indicating the option of including the path SubfctPath
    4444end
    45 hver=ver('MATLAB');
    46 FctNameVersion=[FctName '_MCRROOT' regexprep(hver.Version,'\.','')];%suppress the dot in version number
     45[mcrmajor, mcrminor] = mcrversion;   
     46MCRROOT = ['MCRROOT',int2str(mcrmajor),int2str(mcrminor)];
     47FctNameVersion=[FctName,'_',MCRROOT];
     48%hver=ver('MATLAB');
     49%FctNameVersion=[FctName '_MCRROOT' regexprep(hver.Version,'\.','')];%suppress the dot in version number
    4750try
    4851    disp(['mcc -m -R -nojvm -R -nodisplay -R -singleCompThread ' SubfctPath ' ' FctName '.m'])
Note: See TracChangeset for help on using the changeset viewer.