| Contents | Index |
Possible problem — When you create your own S-functions that include math functions, the S-functions compile, but you cannot build the application.
Solution — Add the Real-Time Windows Target header to your S-function. For example, add
#include<math.h> #include"rtwintgt.h"
The header #include<math.h> must precede the header #include"rtwintgt.h".
![]() | Scope Output Delayed or Missing | Custom I/O Driver Blocks | ![]() |

Learn more about Simulink through this collection of videos, articles, technical literature and the Getting Started with Simulink Guide.
| © 1984-2012- The MathWorks, Inc. - Site Help - Patents - Trademarks - Privacy Policy - Preventing Piracy - RSS |