代码搜索:Block
找到约 10,000 项符合「Block」的源代码
代码结果 10,000
www.eeworm.com/read/384940/8829576
m block.m
function [enables,prompts] = block(a,object,values,enables,prompts)
type = values{4};
switch type
case 'on', prompts{2} = 'Percentage of active && reactive powers [%, %]';
case 'off', prompts{2} =
www.eeworm.com/read/384940/8829871
m block.m
function [enables,prompts] = block(a,object,values,enables,prompts)
type = values{2};
switch type
case 'on', enables([3, 4]) = {'off','off'};
case 'off', enables([3, 4]) = {'on' ,'on'};
end
www.eeworm.com/read/384940/8830635
m block.m
function [enables,prompts] = block(a,object,values,enables,prompts)
type = str2num(values{2});
idx = 11;
switch type
case 2, enables(idx) = {'off'};
case 3, enables(idx) = {'off'};
case 4,
www.eeworm.com/read/384940/8830744
m block.m
function [enables,prompts] = block(a,object,values,enables,prompts)
type = str2num(values{1});
idx1 = [4 5 6 7 8];
idx2 = [7 8 11];
switch type
case 1
prompts(idx1) = {'Regulator Gain m0 [p.u./
www.eeworm.com/read/384940/8831192
m block.m
function [enables,prompts] = block(a,object,values,enables,prompts)
value = str2num(values{2});
names = get_param(object,'MaskNames');
if strcmp(names{2},'p6q')
type = value;
else
return
end
if
www.eeworm.com/read/384940/8831256
m block.m
function [enables,prompts] = block(a,object,values,enables,prompts)
display1 = ['plot([1 2 2 1 1],[-1 -1 1 1 -1]),color(''red''),', ...
'plot([1 2],[-1 1],[2 1],[-1 1])'];
display2 = ['p
www.eeworm.com/read/384940/8831650
m block.m
function [enables,prompts] = block(a,object,values,enables,prompts)
type = values{4};
switch type
case 'on'
prompts{2} = 'Percentage of resistance, active current and active power [%, %, %]';
pr
www.eeworm.com/read/384940/8831701
m block.m
function [enables,prompts] = block(a,object,values,enables,prompts)
type = str2num(values{1});
idx1 = [6 7];
idx2 = [8 9 10];
switch type
case 1,
prompts(idx1) = {'Governor Time Constant Ts [s]';
www.eeworm.com/read/384940/8831928
m block.m
function [enables,prompts] = block(a,object,values,enables,prompts)
type = str2num(values{2});
idx = [4, 7];
switch type
case 1, enables(idx) = {'off'; 'off'};
case 3, enables(idx) = {'on'; 'off'
www.eeworm.com/read/384940/8832176
m block.m
function [enables,prompts] = block(a,object,values,enables,prompts)
type = values{4};
switch type
case 'on', enables{3} = 'on';
case 'off', enables{3} = 'off';
end