Why do I get the errors about duplicate files with the packNgo function in Real-Time Workshop 5.1 (R2008a)?
10 ビュー (過去 30 日間)
古いコメントを表示
When I execute the code
packNGo(buildInfo, {'packType', 'hierarchical'})
I get the error
??? Error using ==> locCheckForDups at 230
The following files have the same file name which cannot be packaged
together in a flat hierarchy:
C:/LowProfile/ICPS/ICPSSubsystem_ert_rtw\ICPSSubsystem.h
C:\LowProfile\ICPS\ICPSSubsystem_ert_rtw\ICPSSubsystem.h
C:/LowProfile/ICPS/ICPSSubsystem_ert_rtw\ICPSSubsystem_private.h
C:\LowProfile\ICPS\ICPSSubsystem_ert_rtw\ICPSSubsystem_private.h
C:/LowProfile/ICPS/ICPSSubsystem_ert_rtw\ICPSSubsystem_types.h
C:\LowProfile\ICPS\ICPSSubsystem_ert_rtw\ICPSSubsystem_types.h
C:/LowProfile/ICPS/ICPSSubsystem_ert_rtw\rtwtypes.h
C:\LowProfile\ICPS\ICPSSubsystem_ert_rtw\rtwtypes.h
採用された回答
MathWorks Support Team
2009 年 6 月 27 日
The packNgo function does not work with RTW generated makefiles.
In order to use the packNgo function uncheck the 'Generate Makefile' option from the Real-Time Workshop settings in the Configuration Parameters window.
For more information on the limitations of the packNgo function see the documentation section titled 'packNGo Function Limitations'.
You can open the documentation directly by executing the following in a MATLAB 2008a command window:
web([docroot '/toolbox/rtw/ug/bqufw6y.html#bquf1h7'])
0 件のコメント
その他の回答 (0 件)
参考
カテゴリ
Help Center および File Exchange で Deployment, Integration, and Supported Hardware についてさらに検索
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!