📄 recover.m
字号:
function recover(systname)
%-------------------------------------------------------------------
% RECOVER('SFUNC') makes one call to the Simulink system SFUNC, to
% recover simulation results which are 'lost' due to a bug in
% Simulink version 1.2c (I don't know if this bug exists for newer
% versions of Simulink). This bug apparantly prevents results to
% be transferred to the Workspace when using 'To Workspace' blocks
% in graphical systems. Re-initializing the system helps restoring
% the 'lost' results, without repeating the simulation itself.
%-------------------------------------------------------------------
sfunctioncall = [systname,'([],[],[],0);'];
eval(sfunctioncall);
%------------------------------------------------------------------------------
% The FDC toolbox. Copyright Marc Rauw, 1994-2000.
% Last revision of this program: October 7, 1997.
%
% Revision history since October 7, 1997:
% =======================================
% October 7, 1997
% - Editorial changes
⌨️ 快捷键说明
复制代码
Ctrl + C
搜索代码
Ctrl + F
全屏模式
F11
切换主题
Ctrl + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -