Contenu principal

Troubleshoot Model Upgrade and Logging Features

When upgrading pre-R2026a Simulink® Real-Time™ model to R2026a and later releases, you find that some logging features from previous releases are not supported and some other logging features can be replaced by using previous releases are not support and some other logging features can be replaced by using instrumentation features that are available in R2026a and later releases.

What This Issue Means

As part of your model upgrade, run the Upgrade Advisor check Check the model for Simulink Real-Time logging features. This check searches the top-level model and searches recursively through any nested model references for buffered signals and Simulink Real-Time Scope blocks. If applied, the fix for this check deletes the scope blocks in the model and removes the buffered signals. The fix also generates a MATLAB script that you can use to create an instrument equivalent to the removed logging features. Run the generated script to create the Instrument object in the MATLAB workspace. After running the script, attach the instrument to a Target object by adding the instrument for file logging, for example tg.Instruments.addForFileLog(Instrument).

Try This Workaround

To upgrade your model for Simulink Real-Time logging features that are available in R2026a and later releases, use this software upgrade process:

  1. Install Simulink Real-Time and other required products.

  2. ​Install the Speedgoat I/O Blockset & Tools. Go to the Speedgoat customer portal.

  3. Upgrade the target machine software. For more information about upgrading target computers, see the documentation available from Speedgoat customer portal.

  4. Open a pre-R2026a Simulink Real-Time model.

  5. Update the model by pressing Ctrl+D. If the model updates successfully, continue to the next step.

  6. Run the Upgrade Advisor. On the Modeling tab, select Model Advisor > Upgrade Advisor.

  7. In the Upgrade Advisor dialog box, select Check model for Simulink Real-Time logging features. Click the Run button. The advisor lists the upgrades that it can apply and the upgrades that require manual changes.

  8. After the check, click the Upgrade button. The advisor upgrades the model by applying all changes.

See Also

Topics