Difference between revisions of "Simulink Tester Issues"

From T-VEC Wiki
Jump to: navigation, search
(Supported EML functions)
(Embedded Matlab Language (EML) Translation: m-script guidelines)
Line 67: Line 67:
 
<br>
 
<br>
  
 
+
====Supported EML syntax====
 
+
=====Flow control syntax=====
 +
if, elseif, else
 +
=====Conditional syntax=====
 +
&&,&,||,|,xor  %and, and, or, or, exclusive or
 +
=====Relational syntax=====
 +
<, <=,==,~=,>,>=  %less than, less than or equal, equal, not equal, greater than, greater than or equal
 +
=====Math syntax=====
 +
+,- %addition, subtraction
 +
<br>
 +
^  %power of
 +
<br>
 +
<nowiki>*</nowiki>,/  %mulitplication, division
 +
=====Unary syntax=====
 +
+,-
 +
=====Matrix syntax=====
 +
[r1c1,r1c2,r1c3;r2c1,r2c2,r2c3;]
 +
<br>
 +
[matrix]' %transpose matrix
 +
=====Comment syntax=====
 +
% [...] - single line comment
 +
<br>
 +
%{
 +
<br>
 +
[...] - multiline comment block
 +
<br>
 +
%}
 +
=====Line continuation syntax=====
 +
...  %line continuation
 
====Supported EML functions====
 
====Supported EML functions====
 
Below is a list of the currently supported EML functions.
 
Below is a list of the currently supported EML functions.

Revision as of 09:26, 17 June 2008