代码搜索:Switch
找到约 10,000 项符合「Switch」的源代码
代码结果 10,000
www.eeworm.com/read/431224/8696191
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/431224/8696267
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/431224/8696331
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/431224/8696393
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/431224/8696471
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/431224/8696473
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/431224/8696520
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/431224/8696894
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/431224/8696897
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/431224/8696962
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