I have a Simulink model that uses Matlab's "lyap" function within a Level-2 M-file S-function. Unfortunately, this type of S-function is not compatible with Real-Time Workshop without the help of a TLC file. The "lyap" function doesn't work inside an embedded Matlab function either. I tried that before employing the current S-function.
Writing a TLC file from scratch is beyond my abilities at the moment, and I'm unsure whether this method would work. Suggestions, anyone? Thanks.