Main Content

Troubleshoot Model Upgrade for R2020b

When I build my pre-R2020b Simulink Real-Time models in R2020b, I get build errors. Some of the blocks in my model have the label Obsolete Simulink Real-Time Block.

What This Issue Means

For R2020b, you must upgrade the Simulink Real-Time model. A model Upgrade Advisor check is available to support this upgrade.

Try This Workaround

To upgrade your model for Simulink Real-Time R2020b features, use this software upgrade process:

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

  2. Install the Simulink Real-Time Target Support Package by using the MATLAB Add-Ons menu.

  3. ​Install the Speedgoat I/O Blockset. Go to the Speedgoat website.

  4. Upgrade the target machine software. See Troubleshoot System Upgrade for R2020b.

  5. Open a R2020b or earlier Simulink Real-Time model.

  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 upgradable Simulink Real-Time features. Click the Run This Check 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 nonmanual changes.

Apply Manual Changes

When the Upgrade Advisor encounters model issues that it cannot resolve by using automated changes, the Upgrade Advisor reports these as Warning: Some of the features require manual changes. It is a good practice to copy the text of these warnings and save it for reference as you apply changes to your model.

Apply Speedgoat Utilities

In R2020b, Speedgoat® software provides support for configuring interrupts and Ethernet communications.

To configure model interrupts, use a single block from the Speedgoat I/O Blockset. You can use this block for asynchronous subsystems or for triggering the base rate of the model. The list of available interrupt sources reflects the Speedgoat I/O Blockset blocks configured in the model. For more information see the block documentation in speedgoatlib_utilities.

To configure additional Ethernet ports on the target machine, the Speedgoat I/O Blockset provides a tool to configure these Ethernet ports. The configuration is specific to the target machine and reflects the labeling on the front plates of the target machine. For more information, in the MATLAB Command Window, type:


See Also