Difference between revisions of "Simulink Tester Issues"

From T-VEC Wiki
Jump to: navigation, search
(S-Functions)
Line 8: Line 8:
 
S-Functions allow users to specify the semantics of new blocks for simulation and code generation through several programming languages, including MATLAB, C, C++, Ada, and Fortran. While the blocks’ semantics are necessary to support test generation for subsystems that reference the S-Function, these semantics are not accessible by the translator through the standard approach.
 
S-Functions allow users to specify the semantics of new blocks for simulation and code generation through several programming languages, including MATLAB, C, C++, Ada, and Fortran. While the blocks’ semantics are necessary to support test generation for subsystems that reference the S-Function, these semantics are not accessible by the translator through the standard approach.
  
To support translation of S-Functions, the translator allows for the substitution of a Simulink subsystem in place of a S-Functions. The subsystem that replaces the S-Function describes the functionality of the S-Function in terms of primitive Simulink blocks. This can be done using the Model Include mechanism.  
+
To support translation of S-Functions, the translator allows for the substitution of a Simulink subsystem in place of a S-Function. The subsystem that replaces the S-Function describes the functionality of the S-Function in terms of primitive Simulink blocks. The Simulink subsystem to be substituted for the S-Function is specified by entering a specially formated tag into the comment of the S-Function block.  
  
Instructions for performing the model include are provided in the Simulink Tester User's Guide.
+
Instructions for formating the S-Function substitution tag are provided in the Simulink Tester User's Guide.
  
 
==Limitations==
 
==Limitations==

Revision as of 21:32, 7 October 2007