Releases: CATIA-Systems/FMIKit-Simulink
v2.9-rc.1
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
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 dialognew
improved handling of source code FMUsnew
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 pathnew
debug buildsnew
compiler optimization flagsnew
CMake toolset option (-T)fixed
shared library paths of nested FMUsfixed
handle multiple sample rates
FMU export (rtwfscnfmi.tlc)
new
build system changed to CMake (same as for grtfmi.tlc)
v2.8-rc.2
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
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
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
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.tlcFIXED
Update description of rtwsfcnfmi.tlcIMPROVED
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
FMU Import
FIXED
FMIKit.getStartValue() now uses the parameter "block" in instead of the current blockFIXED
The block library is now re-saved when calling FMIKit.initialize(), so the same installation can be used with different versions of MATLABNEW
The model.png is now displayed in the FMU dialogFIXED
Undefined stop times are now handled in mdlStart()
GRT based FMU Export
FIXED
Multiple sample rates are now handled correctlyFIXED
REAL32_t values are now checked for overflows in fmi2SetReal()FIXED
The synchronization of communication points has been improvedFIXED
rt_matrx.c is now included in the buildFIXED
The stop time is now checked in fmi2SetupExperiment()FIXED
Attributes are now XML encodedFIXED
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
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-Simulationnew
the "Log level" is now adjustablenew
FMI calls can now be loggednew
the log messages can now be redirected to a filenew
the FMIKit.setSampleTime() and FMIKit.setInterfaceType() functions have been added to the APIimproved
an installed CMake is now detected more reliablyimproved
long FMU descriptions are now displayed completelyremoved
the obsolete "Error diagnostics" checkbox has been removed
FMU export (grtfmi.tlc)
fixed
purely discrete models are now synchronized correctlyfixed
the indices for array parameters have been fixednew
exported FMUs can now contain FMU blocksnew
block outputs, busses and enumerations can now be exportednew
a screenshot of the model is added as model.pngupdated
the FMI headers have been updated to version 2.0.1changed
the "resources" have been replaced with a more flexible template directory
FMI Kit 2.7 Release Candidate 1
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-Simulationnew
the "Log level" is now adjustablenew
FMI calls can now be loggednew
the log messages can now be redirected to a filenew
the FMIKit.setSampleTime() and FMIKit.setInterfaceType() functions have been added to the APIimproved
an installed CMake is now detected more reliablyimproved
long FMU descriptions are now displayed completelyremoved
the obsolete "Error diagnostics" checkbox has been removed
FMU export (grtfmi.tlc)
fixed
purely discrete models are now synchronized correctlyfixed
the indices for array parameters have been fixednew
exported FMUs can now contain FMU blocksnew
block outputs, busses and enumerations can now be exportednew
a screenshot of the model is added as model.pngupdated
the FMI headers have been updated to version 2.0.1changed
the "resources" have been replaced with a more flexible template directory
FMI Kit 2.7 Alpha 4
fixed
Documentation of FMU import updatedimproved
FMU resources replaced with template directory for more flexibilityimproved
Complete description is now displayed in the FMU block dialog