readbinsized.m.svn-base
来自「这是一个用来控制机器人ePuck的matlab GUI.通过它」· SVN-BASE 代码 · 共 18 行
SVN-BASE
18 行
function [output] = readBinSized(ePic, n )
% readBin allow you to read n byte in the buffer in binary mode.
% Datas are in raw format
%
% [output] = readBinSized(ePic, n )
%
% Results :
% output : recieved data in raw format
%
% Parameters :
% ePic : ePicKernel object
% n : number of byte to read in the buffer
try
output = fread(ePic.param.comPort, n, 'uint8');
catch
output = 0;
end
⌨️ 快捷键说明
复制代码Ctrl + C
搜索代码Ctrl + F
全屏模式F11
增大字号Ctrl + =
减小字号Ctrl + -
显示快捷键?