Why do I get the errors about duplicate files with the packNgo function in Real-Time Workshop 5.1 (R2008a)?

10 vues (au cours des 30 derniers jours)
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

Réponse acceptée

MathWorks Support Team
MathWorks Support Team le 27 Juin 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'])

Plus de réponses (0)

Catégories

En savoir plus sur Deployment, Integration, and Supported Hardware dans Help Center et File Exchange

Tags

Aucun tag saisi pour le moment.

Produits


Version

R2008a

Community Treasure Hunt

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

Start Hunting!

Translated by