How can i ressolve the error which is come during building subsystem in simulink during PIL testing?
Info
This question is closed. Reopen it to edit or answer.
Show older comments
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
Walter Roberson
on 11 Dec 2012
That sounds to me like what might happen if you did not have Simulink Coder installed.
ramesh Karande
on 11 Dec 2012
Walter Roberson
on 11 Dec 2012
Embedded Coder requires Simulink Coder for code generation from Simulink.
TAB
on 11 Dec 2012
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.
ramesh Karande
on 11 Dec 2012
ramesh Karande
on 12 Dec 2012
ramesh Karande
on 13 Dec 2012
Answers (0)
This question is closed.
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!