Skip to content

Releases: CATIA-Systems/FMIKit-Simulink

v2.9-rc.1

16 Sep 14:38
Compare
Choose a tag to compare
v2.9-rc.1 Pre-release
Pre-release

This release resolves the following issues with the FMU export:

  • Fix memory allocation and fmi2Reset() in rtwsfcnfmi.tlc (#31)
  • Initialize model variables in fmi2Reset() in grtfmi.tlc (#211)
  • Use 0-based indexing when exporting FMI 2.0 arrays in grtfmi.tlc and rtwsfcnfmi.tlc (#208)
  • Add sources of referenced models in grtfmi.tlc
  • Evaluate nextEventTimeDefined in Model Exchange (#209)
  • Skip duplicate CGType indices in rtwsfcnfmi.tlc (#205)
  • Escape special characters in input and output variables in grtfmi.tlc (#206)
  • Fix loading of MEX S-functions in rtwsfcnfmi.tlc (#203)

v2.8

12 Aug 09:59
Compare
Choose a tag to compare

This release improves the import of source code FMUs and fixes issues with the export of FMUs.
The build system for the S-function based target has been changed to CMake for improved flexibility.

FMU import

  • new model image preview in block dialog
  • new improved handling of source code FMUs
  • new use one FMI Kit installation with multiple MATLAB versions

FMU export (grtfmi.tlc)

  • new export of signals with storage class "ExportGlobal"
  • new model directory is added to include path
  • new debug builds
  • new compiler optimization flags
  • new CMake toolset option (-T)
  • fixed shared library paths of nested FMUs
  • fixed handle multiple sample rates

FMU export (rtwfscnfmi.tlc)

  • new build system changed to CMake (same as for grtfmi.tlc)

v2.8-rc.2

03 Aug 12:15
Compare
Choose a tag to compare
v2.8-rc.2 Pre-release
Pre-release

The following changes have been made w.r.t. v2.8-rc.1:

  • Fix fmi3{Get|Set}Boolean for grtfmi.tlc
  • Move FMI headers to include directory
  • Update FMI 3 API to 3.0-alpha.5
  • Fix output variable names in grtfmi.tlc
  • Handle outputs from labeled signals

v2.8-rc.1

15 Jul 12:55
Compare
Choose a tag to compare
v2.8-rc.1 Pre-release
Pre-release

The following changes have been made w.r.t. v2.8-alpha.3:

  • Use port names for input and output variables (#197)
  • Add missing cast in fmi*SetString() for source code FMUs (#195 )
  • Check for existing include dirs and sources individually and only set CustomInclude and CustomSource when RTWUseSimCustomCode == off (#192)
  • Check ssGetTFinal() for ME source code FMUs (#190)
  • Update FMU export documentation
  • Link shlwapi.lib via #prama comment (lib, ...) (#191)
  • Check ssGetTFinal() for source code FMUs
  • Handle StorageClass="ExportedGlobal" in grtfmi.tlc (#185)

v2.8-alpha.3

06 Jul 21:32
Compare
Choose a tag to compare
v2.8-alpha.3 Pre-release
Pre-release

The following changes have been made w.r.t. v2.8-alpha.2:

  • Set TargetLanguage to "C" for grtfmi.tlc and rtwsfcnfmi.tlc and disable PackageGeneratedCodeAndArtifacts and GenerateMakefile (#182)
  • Update documentation of FMU export options (#181)
  • Handle StorageClass=ExportedGlobal in grtfmi.tlc (#185)
  • Use USERNAME variable as default for ModelAuthor
  • Update LICENSE.txt (#183)
  • Use SimUserIncludeDirs and SimUserLibraries when building generated S-function (#172)
  • Fix getLibraryPath() for nested FMUs (#168)
  • Add model directory to include path (#177)
  • Fix error handling and direct feedthrough for source code FMUs
  • Handle R2020a in rtwsfcnfmi.tlc
  • Add CMakeToolset option to grtfmi.tlc and rtwsfcnfmi.tlc and add CMakeBuildConfiguration and CMakeCompilerOptimizationLevel to rtwsfcnfmi.tlc (#169)
  • Fix port dimensions and direct feedthrough for source code FMUs (#174)
  • Increment value reference index in setInput() when skipping non-direct-feedthrough input ports
  • Check for multiple FMIKit installations on the MATLAB path
  • Add rt_matrx.c to sources in rtwsfcnfmi.tlc
  • Fix S-Function arguments for source code FMUs (#161)
  • Link against custom static libraries in rtwsfcnfmi.tlc (#170)

FMI Kit 2.8 Alpha 2

12 May 12:54
Compare
Choose a tag to compare
FMI Kit 2.8 Alpha 2 Pre-release
Pre-release

The following changes have been made w.r.t. v2.8-alpha.1:

  • FIXED Initialize model in fmi2EnterInitializationMode() instead of fmi2Instantiate() in grtfmi.tlc (#142)
  • FIXED Move variable tNext inside "#ifdef rtmGetT" block (#157)
  • FIXED Add "Parameters." prefix in grtfmi.tlc (#129)
  • FIXED Fix "generationTool" attribute in rtwsfcnfmi.tlc
  • FIXED Update description of rtwsfcnfmi.tlc
  • IMPROVED Display file and block paths when platform binary is missing (#145)
  • NEW Add CMakeBuildConfiguration option to grtfmi.tlc (#162)

FMI Kit 2.8 Alpha 1

20 Apr 13:14
Compare
Choose a tag to compare
FMI Kit 2.8 Alpha 1 Pre-release
Pre-release

FMU Import

  • FIXED FMIKit.getStartValue() now uses the parameter "block" in instead of the current block
  • FIXED The block library is now re-saved when calling FMIKit.initialize(), so the same installation can be used with different versions of MATLAB
  • NEW The model.png is now displayed in the FMU dialog
  • FIXED Undefined stop times are now handled in mdlStart()

GRT based FMU Export

  • FIXED Multiple sample rates are now handled correctly
  • FIXED REAL32_t values are now checked for overflows in fmi2SetReal()
  • FIXED The synchronization of communication points has been improved
  • FIXED rt_matrx.c is now included in the build
  • FIXED The stop time is now checked in fmi2SetupExperiment()
  • FIXED Attributes are now XML encoded
  • FIXED The container CG type index in now used to determine the FMI data type

S-Function based FMU Export

  • NEW The S-Function target now shares the infrastructure with grtfmi.tlc and uses CMake to support newer MATLAB versions

FMI Kit 2.7

14 Jan 07:59
Compare
Choose a tag to compare

This release brings fixes and improvements for the import and export of FMUs.
It is now distributed as a ZIP archive (instead of a MATLAB App) for easier deployment.

FMU import

  • changed the input port direct feedthrough is now automatically derived from the model structure and replaces the "direct input" checkbox.
    This also introduces the expected one step delay for Co-Simulation FMUs and resolves issues with complex models. See the documentation for the exact calling sequence.
  • new the relative tolerance can now be set for Co-Simulation
  • new the "Log level" is now adjustable
  • new FMI calls can now be logged
  • new the log messages can now be redirected to a file
  • new the FMIKit.setSampleTime() and FMIKit.setInterfaceType() functions have been added to the API
  • improved an installed CMake is now detected more reliably
  • improved long FMU descriptions are now displayed completely
  • removed the obsolete "Error diagnostics" checkbox has been removed

FMU export (grtfmi.tlc)

  • fixed purely discrete models are now synchronized correctly
  • fixed the indices for array parameters have been fixed
  • new exported FMUs can now contain FMU blocks
  • new block outputs, busses and enumerations can now be exported
  • new a screenshot of the model is added as model.png
  • updated the FMI headers have been updated to version 2.0.1
  • changed the "resources" have been replaced with a more flexible template directory

FMI Kit 2.7 Release Candidate 1

10 Jan 08:10
Compare
Choose a tag to compare
Pre-release

This release brings fixes and improvements for the import and export of FMUs.
It is now distributed as a ZIP archive (instead of a MATLAB App) for easier deployment.

FMU import

  • changed the input port direct feedthrough is now automatically derived from the model structure and replaces the "direct input" checkbox.
    This also introduces the expected one step delay for Co-Simulation FMUs and resolves issues with complex models. See the documentation for the exact calling sequence.
  • new the relative tolerance can now be set for Co-Simulation
  • new the "Log level" is now adjustable
  • new FMI calls can now be logged
  • new the log messages can now be redirected to a file
  • new the FMIKit.setSampleTime() and FMIKit.setInterfaceType() functions have been added to the API
  • improved an installed CMake is now detected more reliably
  • improved long FMU descriptions are now displayed completely
  • removed the obsolete "Error diagnostics" checkbox has been removed

FMU export (grtfmi.tlc)

  • fixed purely discrete models are now synchronized correctly
  • fixed the indices for array parameters have been fixed
  • new exported FMUs can now contain FMU blocks
  • new block outputs, busses and enumerations can now be exported
  • new a screenshot of the model is added as model.png
  • updated the FMI headers have been updated to version 2.0.1
  • changed the "resources" have been replaced with a more flexible template directory

FMI Kit 2.7 Alpha 4

06 Jan 18:11
Compare
Choose a tag to compare
FMI Kit 2.7 Alpha 4 Pre-release
Pre-release
  • fixed Documentation of FMU import updated
  • improved FMU resources replaced with template directory for more flexibility
  • improved Complete description is now displayed in the FMU block dialog