代码搜索:Switch
找到约 10,000 项符合「Switch」的源代码
代码结果 10,000
www.eeworm.com/read/384940/8828316
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/8828679
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/8828796
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/8829633
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/8829638
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/8829781
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/8829868
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/8829947
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/8830016
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/8830083
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