How can i ressolve the error which is come during building subsystem in simulink during PIL testing?

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

That sounds to me like what might happen if you did not have Simulink Coder installed.
Hello Sir, Thank you for reply, but i have RTW_Embedded_Coder already installed in my system.
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.
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'"

Answers (0)

This question is closed.

Asked:

on 11 Dec 2012

Closed:

on 20 Aug 2021

Community Treasure Hunt

Find the treasures in MATLAB Central and discover how the community can help you!

Start Hunting!