Hello, i doing Processor in the loop Tesing (PIL), but at the time of building the subsystem, i got an error as "Undefined function 'mkCodeGenDir' for input arguments of type 'RTW.BuildInfo'". Can anyone suggest me solution for this? I'm using Matlab 2012b.
7 Comments
Direct link to this comment:
http://www.mathworks.com/matlabcentral/answers/56251#comment_116435
That sounds to me like what might happen if you did not have Simulink Coder installed.
Direct link to this comment:
http://www.mathworks.com/matlabcentral/answers/56251#comment_116461
Hello Sir, Thank you for reply, but i have RTW_Embedded_Coder already installed in my system.
Direct link to this comment:
http://www.mathworks.com/matlabcentral/answers/56251#comment_116463
http://www.mathworks.com/products/availability/#EC
Embedded Coder requires Simulink Coder for code generation from Simulink.
Direct link to this comment:
http://www.mathworks.com/matlabcentral/answers/56251#comment_116473
To check, goto Configuration Parameters (Ctrl+E) and see whether code generation pane exist of not.
If it exists (means Simulink coder is installed with valid license) then set System Target File option in this pane to ert.tlc. If it accepts this option successfully they you have Embedded coder license also.
Direct link to this comment:
http://www.mathworks.com/matlabcentral/answers/56251#comment_116490
Hello Sir, Code generation pane is exist. i also set System Target File to ert.tlc. but after doing all this, error is there. Suggest solution on it. error is " Undefined function 'mkCodeGenDir' for input arguments of type 'RTW.BuildInfo'"
Direct link to this comment:
http://www.mathworks.com/matlabcentral/answers/56251#comment_116669
Does anyone have any ideas?
Direct link to this comment:
http://www.mathworks.com/matlabcentral/answers/56251#comment_116949
hello, can anyone give me suggestion on this problem?