代码搜索:Switch

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

代码结果 10,000
www.eeworm.com/read/431209/8700245

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/431209/8700253

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
www.eeworm.com/read/386257/8759144

m newtoncotes.m

function I = NewtonCotes(f,a,b,type) %type = 1 科茨公式 %type = 2 牛顿-科茨六点公式 %type = 3 牛顿-科茨七点公式 I=0; switch type case 1, I=((b-a)/90)*(7*subs(sym(f),findsym(sym(f)),a)+...
www.eeworm.com/read/384940/8827871

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

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

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

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

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

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

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