Why do I get the errors about duplicate files with the packNgo function in Real-Time Workshop 5.1 (R2008a)?
10 views (last 30 days)
Show older comments
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
Accepted Answer
MathWorks Support Team
on 27 Jun 2009
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 Comments
More Answers (0)
See Also
Categories
Find more on Deployment, Integration, and Supported Hardware 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!