代码搜索:Switch
找到约 10,000 项符合「Switch」的源代码
代码结果 10,000
www.eeworm.com/read/418304/10955318
m subsref.m
function b = subsref(a,index)
switch index(1).type
case '.'
switch index(1).subs
case 'con'
if length(index) == 2
b = a.con(index(2).subs{:});
else
b = a.con;
end
cas
www.eeworm.com/read/418304/10955468
m subsref.m
function b = subsref(a,index)
switch index(1).type
case '.'
switch index(1).subs
case 'con'
if length(index) == 2
b = a.con(index(2).subs{:});
else
b = a.con;
end
cas
www.eeworm.com/read/418304/10955574
m subsref.m
function b = subsref(a,index)
switch index(1).type
case '.'
switch index(1).subs
case 'con'
if length(index) == 2
b = a.con(index(2).subs{:});
else
b = a.con;
end
cas
www.eeworm.com/read/418304/10955585
m subsasgn.m
function a = subsasgn(a,index,val)
switch index(1).type
case '.'
switch index(1).subs
case 'con'
if length(index) == 2
a.con(index(2).subs{:}) = val;
else
a.con = val;
e
www.eeworm.com/read/418304/10955697
m subsref.m
function b = subsref(a,index)
switch index(1).type
case '.'
switch index(1).subs
case 'con'
if length(index) == 2
b = a.con(index(2).subs{:});
else
b = a.con;
end
cas
www.eeworm.com/read/418304/10955792
m subsref.m
function b = subsref(a,index)
switch index(1).type
case '.'
switch index(1).subs
case 'con'
if length(index) == 2
b = a.con(index(2).subs{:});
else
b = a.con;
end
cas
www.eeworm.com/read/418304/10955794
m subsasgn.m
function a = subsasgn(a,index,val)
switch index(1).type
case '.'
switch index(1).subs
case 'con'
if length(index) == 2
a.con(index(2).subs{:}) = val;
else
a.con = val;
e
www.eeworm.com/read/271940/10975711
m gamut.m
function newVa=GAMut(Va)
global swMutation
switch(swMutation)
case 1, newVa=randExMut(Va);
%' randExMut '
case 2, newVa=ShiftMut(Va);
%,'ShiftMut'
end
www.eeworm.com/read/271760/10982099
m pid_ho_tune.m
function [Kp,Ti,Td,key,lb]=pid_ho_tune(key1,key2,vars)
key=0; Kp=[]; Ti=[]; Td=[]; lb=[];
K=vars(1); L=vars(2); T=vars(3); id=vars(4);
switch key1
case 1
switch key2
www.eeworm.com/read/271760/10982104
m pid_fr_tune.m
function [Kp,Ti,Td,key,lb]=pid_fr_tune(key1,key2,vars)
key=0; Kp=[]; Ti=[]; Td=[]; lb=[];
K=vars(1); L=vars(2); T=vars(3);id=vars(4);
switch key1
case 1
switch key2
cas