Real-Time Windows Target    

S-Functions Using Math Functions

Possible problem -- When creating your own S-functions that include math functions, the S-functions compile okay, but you cannot build the application.

Solution -- Add the Real-Time Windows Target header to your S-function. For example, add

The header #include<math.h> must precede the header #include"rtwintgt.h".


  Sample Time Too Fast Supported I/O Boards