plt_ttl.m
来自「离散控制系统设计的MATLAB 代码」· M 代码 · 共 18 行
M
18 行
function y = plt_ttl(str1,str2)
% function y = plt_ttl(str1,str2)
% Replace str1 with str2 in a lti plot
%%%%%%%%%%%%%%%%%% plt_ttl.m %%%%%%%%%%%%%%%%%%%%
% Discrete-Time Control Problems using %
% MATLAB and the Control System Toolbox %
% by J.H. Chow, D.K. Frederick, & N.W. Chbat %
% Brooks/Cole Publishing Company %
% September 2002 %
%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
show=get(0, 'ShowHiddenHandles');
set(0, 'ShowHiddenHandles', 'on');
ht=findobj('String', str1);
set(ht, 'String', str2);
set(0,'ShowHiddenHandles', show);
%%%%%%%%%%
⌨️ 快捷键说明
复制代码Ctrl + C
搜索代码Ctrl + F
全屏模式F11
增大字号Ctrl + =
减小字号Ctrl + -
显示快捷键?