代码搜索:Switch
找到约 10,000 项符合「Switch」的源代码
代码结果 10,000
www.eeworm.com/read/384940/8831498
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/384940/8831556
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/384940/8831561
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/384940/8831768
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/384940/8831771
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/384940/8832035
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/384940/8832158
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/384940/8832391
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/384940/8832395
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/384940/8832477
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