%=======================================================================================================%
% Author:fengjie %
% Created at 06.20.2012 %
%=======================================================================================================%
% It's used for increase sinal measurement atter you have put one sinal in the line
% If you meet with any error in its running please modify it properly according to the real condition
% Welcome your use
clc;
% clear;
%% increase input or output siganl name;
l = find_system(gcs,'FindAll','on','Type','line');
len = length(l);
for i=1:len
t = get(l(i));
if ~strcmp(t.Name,'')
continue;
end
% remove multiple src or dst blocks
[front_cnt, ~] = size(t.SrcBlockHandle);
if front_cnt > 1
对Simulink模型的信号量进行处理写的一个脚本
最新推荐文章于 2024-12-27 11:47:23 发布
