Difference between revisions of "Simulink Tester Issues"

From T-VEC Wiki
Jump to: navigation, search
(Conditional syntax)
(Math Functions)
 
Line 23: Line 23:
 
Support for the translation of Embedded Matlab Language (EML) functions is now available. Not all EML functions will be immediately available but they will be scheduled for implementation as requested. Only those EML functions that can be graphically represented using Simulink blocks can be implemented at this time. Support for other EML functions can be added but they may require a development contract. If there is a function you need please E-mail your request to support@t-vec.com.  
 
Support for the translation of Embedded Matlab Language (EML) functions is now available. Not all EML functions will be immediately available but they will be scheduled for implementation as requested. Only those EML functions that can be graphically represented using Simulink blocks can be implemented at this time. Support for other EML functions can be added but they may require a development contract. If there is a function you need please E-mail your request to support@t-vec.com.  
 
====M-Scripting Guidance====
 
====M-Scripting Guidance====
A majority of the m-script syntax will be supported. A list of the currently supported functions is included. Additionally there are a few programming shortcuts that are not supported. If your script uses those shortcuts then minor modification will be required.
+
A list of the currently supported EML functions is included in this wiki. Additionally there are a few programming shortcuts that are not supported. These are listed in the Unsupported Syntax section. If your script uses those shortcuts then minor modification will be required.
 +
 
 +
=====Global Variables=====
 +
Global variables should not be used in your EML script. All external values needed by a function should be passed into that function as parameters.
 +
 
 +
=====Workspace variables=====
 +
Because the processing of the EML script is done outside of Matlab workspace variables should be passed in as function parameters if needed.
  
 
====Unsupported syntax====
 
====Unsupported syntax====
Line 146: Line 152:
  
 
=====Math Functions=====
 
=====Math Functions=====
 +
abs
 +
dot
 
exp
 
exp
 +
hypot
 
log
 
log
 
log10
 
log10
sqrt
+
mod
 
power
 
power
hypot
 
 
rem
 
rem
mod
+
sqrt
  
 
=====Matrix Functions=====
 
=====Matrix Functions=====
 
eye
 
eye
 +
inv
  
 
----
 
----

Latest revision as of 20:53, 21 July 2009