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

10 visualizzazioni (ultimi 30 giorni)
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

Risposta accettata

MathWorks Support Team
MathWorks Support Team il 27 Giu 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'])

Più risposte (0)

Categorie

Scopri di più su Deployment, Integration, and Supported Hardware in Help Center e File Exchange

Tag

Non è stata ancora inserito alcun tag.

Prodotti


Release

R2008a

Community Treasure Hunt

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

Start Hunting!

Translated by