代码搜索:Switch

找到约 10,000 项符合「Switch」的源代码

代码结果 10,000
www.eeworm.com/read/431224/8698170

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/8698251

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/8698456

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/8698458

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/8698512

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/8698590

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/8698672

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/8698716

m subsasgn.m

function a = subsasgn(a,index,val) switch index(1).type case '.' switch index(1).subs case 'syn' a.syn = val; case 'gen' a.gen = val; case 'delta' a.delta = val; case 'omeg
www.eeworm.com/read/431211/8699740

c f_8_18a_ledsw_a.c

#include "config.h" #include "serial.c" #include "serio.c" #include "delay.h" // this code illustrates a WRONG way to read a switch // for press and release. // Modified from book example so that loo
www.eeworm.com/read/431211/8699746

c f_8_19a_ledtoggle_a.c

#include "config.h" #include "delay.h" // this code illustrates a WRONG way to toggle // an LED on or off after a switch press and release. // LED will actually be ON while switch is // held down, an