20-sim 4C 2.1.10

20-sim 4C 2.1.10 has been released. This build contains several bugfixes and a few improvements:

2.1.10 (17 January 2017, build 4051)

General Improvements:

  • 20-sim 4C: Allow logging on a model without finish time without demanding a finish time
  • Bachmann: replace sprinf by snprinf to prevent potential buffer overflows
  • Bachmann: add support for reading the Time_us values, the Temperature and the Usage* values from the RES module

Bug fixes:

  • 20-sim: Code generation compile error on XXExponent2 and XXExponent10 due to missing xx_logarithm constants.
  • 20-sim: C-Code: Fixed: EulerAngles_EulYXZsFromRotationMatrix accidentally did a relative transformation
  • 20-sim: C-Code template: initialize memory on zero to make sure that there a no non-initialized inputs when not connecting them in 4C.
  • 20-sim 4C: TCF cache: don't copy the cached TCF to the cache trying to overwrite itself
  • 20-sim 4C: Fixed: Connections lost when switching to the TCF from the cache folder
  • Bachmann: Taskname "aMODELNAME (1)" => "aMODELNAME_log" (prevent double task names)
  • Bachmann: Improve Bachmann task timing; only listen to the MIO_SYNC_IN signal to prevent jitter on the start times
  • Bachmann: Stop a running model does not work when the connect and compile phase are not yet green
  • Bachmann: Stopping a model stores the end values in the MCF. Restarting the model should not restore all values from the MCF. Only parameters and initialvalues should be read from the MCF. All other values are calculated by the model.
  • TS-7300: Fixed TS-ADC16 usage resulted in a compiler warning

Download 20-sim 4C here.

20-sim 4C 2.1.9

20-sim 4C 2.1.9 has been released. This build contains several bugfixes and a few improvements:

2.1.9 (19 February 2016, build 3795)


  • Bachmann: include the information from the new 20-sim 4.6 model version fields in the Bachmann module info.

General Improvements:

  • 20-sim: Register 20-sim 4C 2.1 as code generation target in 20-sim 4.6.
  • 20-sim 4C: code generation of the connection code was very slow for larger models.
  • 20-sim 4C: the connection list is now also reachable when the model is running on the target.
  • 20-sim 4C: copy the selected TCF to 20-sim 4C project cache
  • 20-sim template: optimization of the Runge Kutta 4 algorithm (less divisions and increased accuracy).
  • Bachmann: prepare the templates for hosting dynamic HTML documentation on the M1.
  • Bachmann: reduce the module loading time on Bachmann for large models.
  • Bachmann: increase the time-out for starting models on the M1.
  • Bachmann: switch to a lower task priority when wrting the model configuration file (MCF).

Bug fixes:

  • 20-sim 4C: Checkbox to disable the "Finish time" was not stored in the 20-sim 4C project.
  • 20-sim template: generated code for matrix element-wise power was wrong
  • 20-sim template: fix compilation issue with XXMatrixPowElement
  • Bachmann: model upload fails with 'Module already exist and could not be removed'
  • Bachmann: fixed a memory leak in the MCF reader
  • Bachmann: module crash when an connected I/O was not found during startup
  • Bachmann: replacing a running model
  • Bachmann: don't enable the Discover button since it is not yet supported

Download 20-sim 4C here.

20-sim 4.6 and 20-sim 4C

Adding 20-sim 4C to 20-sim 4.6

20-sim 4C does not yet recognise 20-sim 4.6. As a consequence, 20-sim 4C does not appear in the list with C-code generation targets.

You can add 20-sim 4C 2.x manually to this list using the following steps:

  1. Start 20-sim 4.6
  2. Open from the menu: "Tools" -> "Options". This will show the "20-sim General Properties" window
  3. Select the "Folders" tab
  4. Click the "C-code Folders" button. this will show the "Folders" window.
  5. Click "Add"
  6. Browse to: "C:\Program Files (x86)\20-sim 4C 2.x\source\20-sim" (or C:\Program Files\20-sim 4C 2.x\source\20-sim on 32-bit systems) and click "Ok"

If everything went right, 20-sim 4C should now appear in the "Folders" list and in your C-code targets list. You can now close the "Folders" window and the "20-sim General Properties window".

20-sim 4C 2.1.8

20-sim 4C 2.1.8 has been released. This build contains several bugfixes and a few improvements:

2.1.8 (8 June 2015, build 3520)

General Improvements:

  • Reduce the usage of hardcoded paths to make it easier to move project to a different location.

Bug fixes:

  • Bachmann: revert enabling compiler optimization; this could change the behavior of models under certain conditions.
  • Bachmann: fixed: overriding parameter values in the model configuration file was not possible for parameters with default values (0, 0.0, False).
  • Simulink: various fixes for Matlab/Simulink 2011,2012,2013 code generation.
  • 20-sim template: fix wrong formula for arctanh in C-code.
  • 20-sim template: correct the XXImpulse implementation to match the behavior of the 20-sim impulse() function.
  • GUI: setting 'omega' on the "Configure Run" tab did not calculate the right corresponding frequency.

Download 20-sim 4C here.


You are here: Home Support News
We use cookies to ensure that we give you the best experience on our website. If you continue to use this site we will assume that you agree with our cookie policy.
More information Ok