Filter löschen
Filter löschen

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

1 Ansicht (letzte 30 Tage)
Stalin Samuel
Stalin Samuel am 13 Feb. 2015
Beantwortet: Kiran Kintali am 14 Feb. 2015
|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|

Akzeptierte Antwort

Kiran Kintali
Kiran Kintali am 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.

Weitere Antworten (0)

Kategorien

Mehr zu Code Generation finden Sie in Help Center und File Exchange

Community Treasure Hunt

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

Start Hunting!

Translated by