configure.m

来自「一个MATLAB的应用程序」· M 代码 · 共 20 行

M
20
字号
function dummy = configure(r, bufferLength, numBuffers, modeRtdx)
%CONFIGURE Define the size and number of RDTX(tm) channel buffers.
%   CONFIGURE(R, LENGTH, NUMBER, MODE) sets the LENGTH in bytes of each RTDX
%   channel buffer and the NUMBER of channel buffers.  The operating MODE is 
%   defined by a string as either 'continuous' or 'non-continuous'.
%
%   CONFIGURE(R, LENGTH, NUMBER) sets the LENGTH in bytes of each RTDX
%   channel buffer and the NUMBER of channel buffers.  The MODE is set to
%   'continuous' by default. 
%
%   CONFIGURE configures channel buffers using the defaults of LENGTH = 1024 
%   bytes, NUMBER = 4 buffers, MODE = 'continuous'.
%
%  Example
%  > configure(r,64000,4,'non-continuous');
%
%  See also RTDX, ENABLE, OPEN.

% Copyright 2002 The MathWorks, Inc.

⌨️ 快捷键说明

复制代码Ctrl + C
搜索代码Ctrl + F
全屏模式F11
增大字号Ctrl + =
减小字号Ctrl + -
显示快捷键?