Cannot find design 'main' on the path : HDL coder error

3 views (last 30 days)
|while converting my m file using hdl coder following error occurs Error using Float2FixedConverter.Float2FixedConverter (line 143) Cannot find design 'main' on the path
Error in C:\Program Files\MATLAB\R2013a\toolbox\coder\coder\+coderprivate\Float2FixedManager.p>Float2FixedManager.buildFloatingPointCode (line 77)
Error in C:\Program Files\MATLAB\R2013a\toolbox\coder\coder\private\fpBuildFloatingPointCode.p>fpBuildFloatingPointCode (line 4)
Error in C:\Program Files\MATLAB\R2013a\toolbox\coder\coder\emlcprivate.p>emlcprivate (line 16)
Cannot find design 'main' on the path
Error in Float2FixedConverter>Float2FixedConverter at 143
Error in Float2FixedManager>buildFloatingPointCode at 77
Error in fpBuildFloatingPointCode at 4
Error in emlcprivate at 16|

Accepted Answer

Kiran Kintali
Kiran Kintali on 14 Feb 2015
Can you tell us which version of MATLAB you are using? Thanks
please make sure your project file (.prj) file is in the same folder as the design (main.m) and testbench (main_tb.m). please launch the project after cd'ing into the directory, add the design and testbench before opening workflow steps.

More Answers (0)

Categories

Find more on Code Generation in Help Center and File Exchange

Community Treasure Hunt

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

Start Hunting!