An open-source Matlab library for TMSi biosignal measurement devices


MaTMSi is an open-source library for Matlab which can be used to connect TMSi electro-physiological measurement devices (e.g. Porti systems). Measures can be captured in real-time as Matlab variables, which significantly eases their analysis.


  • Connect to TMSi biosignal devices
  • Get devices status and channel formats
  • Retrieve measured samples in real-time
  • All features are available directly through Matlab and in real-time


Documentation and help

An example script that uses MaTMSi is provided along with the library. Read Help.m file first, then use Example.m to start the measurements.
MaTMSi is based on TMSi’s SDK. Please have a look at the documentation provided by TMSi to see how connection and measurement processess need to be performed. For individual functions provided by MaTMSi, see the documentation generated by Matlab (e.g. doc MaTMSi.Devices).


  • 32 bits windows operating system (e.g. Windows XP),
  • 32 bit Matlab, >= 2008b,WARNING! Replace file RTInst.dll from folder Windows/System32 by the one provided with drivers v6.0.0.90. Indeed, TMSi update program to version does not update this file.


MaTMSi is available on SourceForge, through a SVN repository.


  • Copy RTInst.dll and Sadio.h files provided with TMSi drivers (v6.0.0.90) into +MaTMSi/+Driver folder
  • Copy +MaTMSi folder within a directory in your Matlab path

Contact and support

Although we do not guarantee support, you may address your feedback to the author ( This email address is being protected from spambots. You need JavaScript enabled to view it. ), or open a ticket on MaTMSi sourceforge project at

License and Copyright

MaTMSi is Copyright © 01/01/2011, Université de Nantes.
MaTMSi is free software ; you can redistribute it and/or modify it under the terms of the CeCILL as published by the CEA, CNRS, INRIA ; either version 2 of the License, or (at your option) any later version. This program is distributed in the hope that it will be useful, but WITHOUT ANY WARRANTY ; without even the implied warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the CeCILL for more details. You should have received a copy of the CeCILL along with this program ; if not, you can also find the CeCILL on the CeCILL web site. In addition, we kindly ask you to acknowledge MaTMSi and its authors in any program or publication in which you use MaTMSi. (You are not required to do so ; it is up to your common sense to decide whether you want to comply with this request or not.) For general publications, we suggest referencing : MaTMSi, laboratoire IRCCyN, Université de Nantes. Non-free versions of MaTMSi are available under terms different from those of the CeCILL. (e.g. they do not require you to accompany any object code using MaTMSi with the corresponding source code.) For these alternative terms you must purchase a license from Technology Transfer Office of the Université de Nantes. Users interested in such a license should contact us ( This email address is being protected from spambots. You need JavaScript enabled to view it. ) for more information.
Technical Support : Romuald Pepion
Team : IVC
Contact : This email address is being protected from spambots. You need JavaScript enabled to view it.


Logo-cnrsLogo-AtlanSticLogo-UniversiteNanteslogo IMT Atlantique-ptlogocn-q-ptlunamCOMUE