easyLink
C++ library for developing Simulink S-functions
 All Classes Functions Variables Modules Pages
Overview

You need to write a C-MEX S-function?

You hate the simulink C API? You do not like the code produced by the S-function generator?

You would like to use C++ and to write classes?

easyLink is for you!!!

Description

easyLink is a rapid C++ development kit for creating new blocks for Matlab/Simulink (S-functions). It allows to develop C++ mex S-functions with less code and using friendly classes.

easyLink is simpler and as efficient than the simulink C API. It provides a direct access to simulink input, output and parameter ports as well as MATLAB variables thanks to a C++ Array class.

easyLink is a multi-platform library that works under Linux, OSX and Windows.

Documentation content

Download

The latest release can be downloaded here.

The project SVN repository can be checked out through anonymous access with the following command:

svn checkout https://subversion.renater.fr/easylink 

Bugs reports, questions and suggestions can be posted on sourcesup forge.

Installation

  1. Unpack the archive in a local directory
  2. Open Matlab
  3. Set the matlab current directory where easyLink is located
  4. Execute the startup file "install.m" and follow instructions to select an installed C++ compiler
    >>install 
  5. Execute the following command to compile and link a demo file
    >>make sfun_offset.cpp 
  6. Open Simulink
  7. Open the file "test_offset.mdl" and run it to check the installation

Use the file sfun_offset.cpp as a template to write a new S-function.

Licence

easyLink is free software: you can redistribute it and/or modify it under the terms of the GNU General Public License as published by the Free Software Foundation, either version 3 of the License, or (at your option) any later version.

easyLink 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 GNU General Public License for more details. You should have received a copy of the GNU General Public License along with the sources files. If not, see http://www.gnu.org/licenses/.

Copyright (c) 2014 FEMTO-ST, ENSMM, UFC, CNRS.

About

easyLink is developed and maintained within the FEMTO-ST Institute located in Besançon, France and hosted by Renater.

easyLink official site is: http://sourcesup.renater.fr/easylink/

contact: Guillaume J. Laurent, http://www.femto-st.fr/~guillaume.laurent/


Copyright (c) 2014 FEMTO-ST / ENSMM / UFC / UTBM, Besançon, France. Generated by Doxygen.