代码搜索:Block
找到约 10,000 项符合「Block」的源代码
代码结果 10,000
www.eeworm.com/read/287379/8688732
c block.c
/* Copyright (C) 2001, 2002, 2003 by Hans Reiser, licensing governed by
libaal/COPYING.
block.c -- data block functions. */
#include
errno_t aal_block_init(aal_block_t *bloc
www.eeworm.com/read/431298/8690362
c block.c
#include "tdestr.h"
#include "common.h"
#include "tdefunc.h"
#include "define.h"
int mark_block( WINDOW *window )
{
int type;
int num;
long lnum;
register file_infos *file; /*
www.eeworm.com/read/431224/8695201
m block.m
function [enables,prompts] = block(a,object,values,enables,prompts)
type = values{11};
switch type
case 'Voltage_control'
prompts{10} = ['Reference dc voltage limits (Vr_max, Vr_min, Vi_max, ' ...
www.eeworm.com/read/431224/8695268
m block.m
function [enables,prompts] = block(a,object,values,enables,prompts)
display1 = ['plot([1 0.8],[0.5 0.5],' ...
'[0 0.2],[0.5 0.5],' ...
'[0.8 0.8 0.2 0.2 0.8],[0 1 1 0 0]), ',
www.eeworm.com/read/431224/8695330
m block.m
function [enables,prompts] = block(a,object,values,enables,prompts)
type = values{2};
switch type
case 'constant_power'
enables([3 7]) = {'on'; 'on'};
otherwise
enables([3 7]) = {'off'; 'off'};
www.eeworm.com/read/431224/8695385
m block.m
function [enables,prompts] = block(a,object,values,enables,prompts)
type = str2num(values{1});
switch type
case 1, enables([2 5 6 7 8 9 10]) = {'off','on', 'off','off','off','off','off'};
case 2, e
www.eeworm.com/read/431224/8695947
m block.m
function [enables,prompts] = block(a,object,values,enables,prompts)
colors = {'black','blue','green','red','yellow', ...
'cyan','orange','darkgreen','lightblue','gray'};
numc = rem(round(st
www.eeworm.com/read/431224/8696009
m block.m
function [enables,prompts] = block(a,object,values,enables,prompts)
type = values{4};
switch type
case 'on', prompts{2} = 'Percentage of active && reactive powers [%, %]';
case 'off', prompts{2} =
www.eeworm.com/read/431224/8696271
m block.m
function [enables,prompts] = block(a,object,values,enables,prompts)
type = values{2};
switch type
case 'on', enables([3, 4]) = {'off','off'};
case 'off', enables([3, 4]) = {'on' ,'on'};
end
www.eeworm.com/read/431224/8696973
m block.m
function [enables,prompts] = block(a,object,values,enables,prompts)
type = str2num(values{2});
idx = 11;
switch type
case 2, enables(idx) = {'off'};
case 3, enables(idx) = {'off'};
case 4,