This commit is contained in:
2023-11-14 17:10:27 +08:00
commit d5a822831c
423 changed files with 5909 additions and 0 deletions

17
FOTF Toolbox/fotfpath.m Normal file
View File

@ -0,0 +1,17 @@
function fotfpath
% fotfpath - set path after FOTF installation, for Simulink path
% Copyright (c) Dingyu Xue, Northeastern University, China
% Last modified 18 May, 2022
v=version; key=strfind(v,'.'); vers=eval(v(1:key(2)-1));
p=path;
if vers>=9.12
p=strrep(p,'FOTF Toolbox\simulink2019b\','FOTF Toolbox\Simulink\');
p=strrep(p,'FOTF Toolbox\simulink2019b;','FOTF Toolbox\Simulink;');
else
p=strrep(p,'FOTF Toolbox\Simulink\','FOTF Toolbox\simulink2019b\');
p=strrep(p,'FOTF Toolbox\Simulink;','FOTF Toolbox\simulink2019b;');
end
path(p); savepath
end