| Stateflow User's Guide | ![]() |
Checking Embedded MATLAB Functions for Syntax Errors
Before you can build a simulation application for a model, you need to fix any possible syntax or grammar errors that keep the application from building. Use the following steps to check the Embedded MATLAB function stats for syntax and grammar errors that keep it from building:
call_stats_function model that you save at the end of Programming a Stateflow Embedded MATLAB Function, and open its Stateflow block and the Embedded MATLAB function stats inside.
avg to a call to a nonexisting subfunction aug in stats, the following Builder window appears:
| Debugging a Stateflow Embedded MATLAB Function | Run-Time Debugging for Embedded MATLAB Functions | ![]() |
© 1994-2005 The MathWorks, Inc.