FMIT Toolbox - Release Information

Release Notes for FMI Toolbox 2.6.3

FMI Toolbox 2.6.3 is part of Modelon’s 2018.1 release.

New versions of Modelon libraries are sold and distributed directly from Modelon, as well as approved resellers.


  • Added support for MATLAB 2017b.
  • Added the new FMU block options useStaticLibraryInCodeGeneration and staticLibraryPathForCodeGeneration. These allow using custom FMU binaries when using Simulink Coder. For more information use help fmuSetOptionSimulink in MATLAB.
  • For the tables in Section 5.10, compatibility with the FMU targets was added for the following blocks:

    • Argument Inport
    • Argument Outport
    • Function Caller
    • Matlab System
    • Simulink Function
    • Event listener
    • Initialize Function
    • Reset Function
    • State Reader
    • State Writer
    • Terminate Function
    • Other minor improvements.


  • Added support for Visual Studio 2013.
  • Fixed bug where the wrong FMU resource path was used by the FMU block when simulating in Accelerator mode.
  • Other minor improvements.


  • Added support for MATLAB 2017a.
  • Fixed bug where adding outputs in the FMU Block GUI failed.
  • Other minor improvements.


  • Better support and documentation for using the FMU block with Simulink Coder targets, see Section 3.4.
  • Improved performance for Simulating Model Exchange 2.0 FMUs using the mex interface.
  • Updated the FMI Library version to 2.0.2.
  • Added warning for not creating string ports when loading an FMU with string inputs/outputs into an FMU block.
  • Improved logging for the FMU block. Ensured that for MATLAB 2015b and forward logging is done in the
  • Diagnostic Viewer when using the GUI, otherwise to the MATLAB prompt.
  • Other improvements and bug fixes.


  • Added support for Exporting FMUs on Linux. See Section for details.
  • It is no longer necessary to configure a zip tool. A default implementation in Java is now available.
  • Added trim and linearize to FMUModelME2 class, also improved the FMUModelME1 implementations with better interface and documentation.
  • Note: The FMIToolbox 2.5.x releases will be the last to have support for Windows XP, Ubuntu 8.04, Ubuntu 11.04 and early versions of MATLAB. FMIToolbox 2.6 will support MATLAB 2010b (32-bit and 64-bit) and forward on Windows (7 and 10) and MATLAB 2015a (64-bit) and forward on Linux (64-bit).


  • Added support for MATLAB 2016a and 2016b.
  • Added support for Visual Studio 2012 and Visual Studio 2015.
  • Added the FMU export option Include internal signals. When enabled, internal signals will be available in the exported FMU. See Section 5.8 for more information.
  • Removed the vector sizes from the vector names for ports in FMU blocks when loading an FMU. Reloading the FMU for a block will not change the naming. For example the names for the vector with FMI names "a[1]", "a[2]", "a[3]" will now have the block port name "a" rather than "a[3]".
  • Most of the scripting functions for the FMU block (see Section 3.3.8) now works for FMU blocks with structured ports activated. Improved error handling for calling the scripting functions with blocks not valid.
  • Other improvements and bug fixes.


  • Better support for removing algebraic loops using dependency data. New FMU blocks will use this by default. The option useDirectFeedthroughData can be used for old blocks.
  • Unconnected inputs of FMU blocks now behave as if the Ground block was connected to it, meaning that the input will be a zero value.


    • Support for FMU Model Exchange export from Simulink with Global (tunable) parameters.
    • Added full support for MATLAB 2015b.
    • Exported FMUs of Simulink models will now have parameters with names that reflect the models structure, see Chapter Section 5.7.
    • The structured names of the inputs and outputs of exported FMUs will now always be legal FMI names (unique and with no illegal characters).
    • Fixed bug where modifying a copied FMU block with structured ports would change the original FMU block.


    • Tunable parameters are now supported for FMU Co-Simulation 2.0 export.
    • Added support for MATLAB 2015b with the exception of the targets fmu_me1.tlc and fmu_me2.tlc.
    • Added the methods getMin, getMax and getNominal to the ScarlarVariable1 class.
    • Fixed a bug causing the fmiGetXXX functions in the FMI 1.0 MEX interface to return values with wrong dimensions.
    •  Other improvements and bug fixes.


    • Support for FMU Model Exchange 2.0 export from Simulink.
    • Changed behavior for Stop Simulation blocks when exporting Co-Simulation and Model Exchange FMUs. They now cause the simulation to stop without an error (Model verification blocks still causes stops with an error).
    • Improved performance of ScalarVariable1 methods
    • Exported Co-Simulation FMUs now support variable communication points. Capability added to modelDescription.xml: canHandleVariableCommunicationTimeStep="true".
    • Fixed a bug affecting S-Functions with row vector parameters.