Skip to Main Content Skip to Search
Home |   United Kingdom  Choose Country  |  Contact Us  |  Cart Store 
Create Account | Log In
Products & Services Industries Academia Support User Community Company

 

Product Support

2201 - Transitioning from MATRIXx Products to MathWorks™ Products


The MathWorks no longer sells or supports MATRIXx products.

MATRIXx Transition Options

Other Resources


Use AutoCode to create blocks for use in Simulink® models

Several customers have already used AutoCode to generate C code for their existing SystemBuild models. Using AutoCode allows you to encapsulate existing SystemBuild models for use within Simulink®, retaining the exact behavior of the AutoCode within Simulink.

Creating blocks with AutoCode is a quick way to package and use existing SystemBuild models in Simulink, but it requires a license for the AutoCode product. In addition, this process is most useful if you use AutoCode procedures without the scheduler for your models.

The MathWorks™ Consulting Group can help you with this procedure.


Translate SystemBuild models to Simulink


Working with SystemBuild to Simulink® Translator

The SystemBuild to Simulink Translator (SB2SL), which is in Simulink, helps Simulink users bring their SystemBuild legacy models into Simulink without having to recreate the original models. SB2SL reads a SystemBuild ASCII format model file and creates a Simulink model that represents the structure and hierarchy of the SystemBuild model.
Download SystemBuild to Simulink® Translator

For more information on working with SB2SL, refer to the SystemBuild to Simulink® Translator documentation.

Limitations

Refer to the Limitations section of the SystemBuild to Simulink Translator® documentation for limitation details.

SB2SL Translation Tips

Simulink can replicate almost all SystemBuild functionality through basic blocks or through the use of additional blocksets or S-function code.

The following reference tables show corresponding SystemBuild and Simulink blocks and functions.

Suggested replacements for unconverted blocks:

SystemBuild Block   Simulink Equivalent
MathScript Block   MATLAB Fcn block M-File S-function
UserCode Block (UCB)   S-Function block (C, Fortran, Ada)
Interactive Animation   Simulink Sinks, Gauges Blockset, and Altia Design
State Transition Diagrams   Stateflow

Optimizations made to any Simulink model also apply to translated models.

These optimizations include:
  • Vectorization
  • Experimenting with different solvers (such as stiff and non-stiff)
  • Using the simulation acceleration modes and profiler from Simulink®

For more translation tips, refer to the conversion strategies section of the SystemBuild to Simulink® Translator documentation.

Lessons Learned On Using SB2SL

A number of customers have used SB2SL to translate their SystemBuild models. Based on their experience, The MathWorks offers the following advice:

  1. Get MathWorks product training before you begin.
    The MathWorks provides beginner- and intermediate-level training courses in MATLAB, Simulink, and Stateflow. These courses can help you recognize and accommodate key differences between MATRIXx and MathWorks products and avoid some of the pitfalls of conversion.
  2. Don't underestimate the difficulty of the translation.
    Have your best people testing the conversion possibilities-preferably, engineers who are both experts with MATRIXx, and proficient programmers.
  3. Don't expect SB2SL to deliver a fully optimized Simulink® model.
    SB2SL is designed to take the mundane work out of converting. It cannot translate every block, produce a perfect Simulink equivalent of your SystemBuild model, or verify the converted model for you.

Translate Xmath to MATLAB

The following reference tables show corresponding Xmath and MATLAB commands and syntax.

Additionally, the MathWorks Consulting Group offers Xmath to MATLAB® translation services.

Contact support
E-mail this page
Print this page