📄 hysdel_old.m
字号:
function hysdel_old(filename)% hysdel_old(filename)% THIS FILE GENERATES THE DEPRECATED MLD STRUCTURE 1.0% IT IS PROVIDED FOR BACKWARDS COMPATIBILITY.% % INPUT: % filename: the hysdel source %% OUTPUT:% filename.mat on disk %% REMARK:% the M-file <hout.m> contains the system in the new format. Use % load filename.mat if you want to access the system in the old format.% % (C) 2000--2002 by F.D. Torrisi, A. Bemporad, T. Geyer% Automatic Control Laboratory, ETH Zentrum, CH-8092 Zurich, Switzerland% torrisi|bemporad|geyer@aut.ee.ethz.ch%% see license.txt for the terms and conditions.% Removes extensionj=findstr(filename,'.');if ~isempty(j), if strcmpi(filename(j(end):end),'.hys') filename(j(end):end)=[]; endend% compileif isunix hysdel_cmd = './hysdel'; eval(['!' hysdel_cmd ' <' filename '.hys' ' > hout.m']);else hysdel_cmd = '.\hysdel.exe'; eval(['!' hysdel_cmd ' < ' filename '.hys' ' > hout.m']);end; % execute HYSDEL output 'hout.m' to load the system Shout; S = new2old(S);% write 'filename.mat'eval(['save ' filename]);
⌨️ 快捷键说明
复制代码
Ctrl + C
搜索代码
Ctrl + F
全屏模式
F11
切换主题
Ctrl + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -