Skip to content

Neuro-Mechatronics-Interfaces/matlab_package__intan

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

8 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

+intan

Should be initialized as MATLAB package with name +intan.

This repo contains code for running the Intan RHX interface via TCP.

Installation

git submodule add git@github.com:Neuro-Mechatronics-Interfaces/matlab_package__intan.git +intan

Contents

The +intan package includes the following functions:

Usage

After adding the +intan package to your MATLAB path, you can utilize its functions to control the Intan RHX interface.
All instructions assume you have already launched RHX application and created the corresponding control websocket in the network interface. For example, to start recording data:

intanTcpClient = tcpclient("127.0.0.1", 5000); % Control interface
waveformTcpClient = tcpclient("127.0.0.1", 5001); % Waveform interface
intan.setChannelTCP(intanTcpClient, 'a', 1:128, false, true, false, false); % Enables HPF channels 1-128 on port "A". 
intan.startRunning(intanTcpClient); % Starts running (not recording) the interface
[data, timestamp] = intan.readWaveformByteBlock(waveformTcpClient, 128, 0, false);

Refer to the individual function documentation for detailed usage instructions.

Notes

Ensure that your system meets the necessary requirements for TCP/IP communication with the Intan RHX interface. Proper configuration of network settings may be required.

For additional resources and related MATLAB packages, visit the Neuro-Mechatronics Lab's GitHub page.

About

Should be initialized as MATLAB package with name `+intan`

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published