ReadNVT

版本 1.0.0.0 (2.0 KB) 作者: Forrest Collman
Reads in a Neuralynx NVT Cheetah binary file into Matlab
505.0 次下载
更新时间 2009/12/30

查看许可证

This function reads in a NeuraLynx NVT file (with filename fn) into matlab assuming the format has a 16Kb ascii header and then a repeating binary record given by the following format
(variablename, variabletype, number_in_a_row)
%RecordFormat={
% 'swstx','uint16',1;
% 'swid','uint16',1;
% 'swdata_size','uint16',1;
% 'TimeStamp','uint64',1;
% 'dwPoints','uint32',400;
% 'sncrc','int16',1;
% 'Xloc','int32',1;
% 'Yloc','int32',1;
% 'Angle','int32',1;
% 'dntargets','int32',50;
% };

The code is structured in such a way to make it very easy to modify to read in ANY binary file which contains a header and then a repeating sequence of binary records of a fixed length and appended binary variables simply by modifying this RecordFormat variable, so this should have some more general use as well.

引用格式

Forrest Collman (2024). ReadNVT (https://www.mathworks.com/matlabcentral/fileexchange/26226-readnvt), MATLAB Central File Exchange. 检索来源 .

MATLAB 版本兼容性
创建方式 R2009b
兼容任何版本
平台兼容性
Windows macOS Linux
类别
Help CenterMATLAB Answers 中查找有关 Electrophysiology 的更多信息

Community Treasure Hunt

Find the treasures in MATLAB Central and discover how the community can help you!

Start Hunting!
版本 已发布 发行说明
1.0.0.0