I am generating code from a model. The model contains an Enabled Subsystem, which in turn contains a Switch-Case block. The generated code contains a call to the function rt_EnableState(). However, when I try to build the code in an external application, the function is undefined.
MATLAB: How to stop the error regarding rt_EnableState() in the generated code in Real-Time Workshop 6.4 (R2006a)
rt_enablestatesimulink coder
Related Question
- Is the modelname_xpc_emb folder not created when I build the model for xPC Target in MATLAB 7.6 (R2008a)
- How to retrieve Simulink parameter names from the rtp structure generated by the RSIMGETRTP function in Real-Time Workshop 6.4 (R2006a)
- Do I get error messages when compiling a model that contains an S-function block that uses the external S-function module in Real-Time Workshop
- Do I see a list of TLC files in the documentation used for code generation but cannot find them in the installation in Real-Time Workshop 6.4 (R2006a)
- In what library is the “rtInf” variable located under Real-Time Workshop
- What is the difference between the functions LibGetRecordDataWidth and LibGetRecordWidth in Real-Time Workshop 6.4 (R2006a)
- Is it possible to use MATLAB Compiler to generate C code to be used with Real-Time Workshop
Best Answer