error generate code simulik for raspberry pi 3

4 次查看(过去 30 天)
### Generating code into build folder: C:\matlabrasp\simled_ert_rtw ### Invoking Target Language Compiler on simled.rtw ### Using System Target File: C:\Program Files\Polyspace\R2019a\rtw\c\ert\ert.tlc ### Loading TLC function libraries ...... ### Initial pass through model to cache user defined code ### Caching model source code ........ ### Generating TLC interface API. .......................... ### Writing header file simled_types.h . ### Writing header file simled.h ### Writing header file rtwtypes.h ### Writing header file builtin_typeid_types.h ### Writing header file multiword_types.h ### Writing source file simled.c . ### Writing source file simled_capi.c ### Writing header file simled_capi.h ### Writing header file simled_private.h ### Writing source file simled_data.c ### Writing header file rtmodel.h . ### Writing source file ert_main.c ### TLC code generation complete. ### Creating extmode_task_info.m. ### Creating external mode types file ext_mode_types.h
### Build procedure for model: 'simled' aborted due to an error.
The following error occurred while tokenizing the custom code parameters: '-L\usr\lib\arm-linux-gnueabihf specified in custom libraries string does not exist in any of the following search directories: "C:\matlabrasp\usr\lib\arm-linux-gnueabihf" "C:\matlabrasp\usr\include" "C:\matlabrasp" "C:\matlabrasp\simled_ert_rtw" "C:\Users\Atef Ftirich\Documents\MATLAB" "C:\ProgramData\MATLAB\SupportPackages\R2019a\toolbox\target\supportpackages\asyncioplugins" "C:\ProgramData\MATLAB\SupportPackages\R2019a\toolbox\target\supportpackages\raspberrypi" "C:\ProgramData\MATLAB\SupportPackages\R2019a\toolbox\target\supportpackages\raspberrypi\blocks" "C:\ProgramData\MATLAB\SupportPackages\R2019a\toolbox\target\supportpackages\raspberrypi\registry" "C:\ProgramData\MATLAB\SupportPackages\R2019a\toolbox\target\supportpackages\raspberrypi\raspberrypiexamples" "C:\ProgramData\MATLAB\SupportPackages\R2019a\toolbox\target\supportpackages\raspberrypi\raspberrypitemplates" "C:\ProgramData\MATLAB\SupportPackages\R2019a\toolbox\target\shared\file_logging" "C:\ProgramData\MATLAB\SupportPackages\R2019a\toolbox\realtime\targets\raspi" "C:\ProgramData\MATLAB\SupportPackages\R2019a\toolbox\realtime\targets\raspi\registry" "C:\ProgramData\MATLAB\SupportPackages\R2019a\toolbox\realtime\targets\raspi\toolchain" "C:\ProgramData\MATLAB\SupportPackages\R2019a\toolbox\realtime\targets\raspi\raspi_examples" "C:\ProgramData\MATLAB\SupportPackages\R2019a\toolbox\realtime\targets\linux" "C:\ProgramData\MATLAB\SupportPackages\R2019a\toolbox\realtime\targets\linux\blocks" "C:\ProgramData\MATLAB\SupportPackages\R2019a\toolbox\realtime\targets\linux\blocks\mex" "C:\ProgramData\MATLAB\SupportPackages\R2019a\toolbox\realtime\targets\linux\linuxdemos" "C:\ProgramData\MATLAB\SupportPackages\R2019a\toolbox\target\supportpackages\shared_linuxservices" "C:\ProgramData\MATLAB\SupportPackages\R2019a\toolbox\target\supportpackages\shared_linuxservices\blocks" "C:\ProgramData\MATLAB\SupportPackages\R2019a\toolbox\target\shared\svd" "C:\ProgramData\MATLAB\SupportPackages\R2019a\toolbox\target\shared\svd\blocks" "C:\ProgramData\MATLAB\SupportPackages\R2019a\toolbox\target\shared\svd\blocks\mex" '.
hi
please any solution for this error

回答(1 个)

Divyanshu
Divyanshu 2024-11-29
编辑:Divyanshu 2024-11-29
Hello @ftirich,
I faced a similar problem, the reason for the error is some non-existent file or library existing in 'Source Files' or 'Custom Libraries' under:
'Configuration Parameters > Code Generation > Custom Code > Custom Code Settings > Code Information'
The error got resolved for me when I removed the specific custom file name from the custom source files in the custom code section.
I hope this helps!

类别

Help CenterFile Exchange 中查找有关 Raspberry Pi Hardware 的更多信息

Community Treasure Hunt

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

Start Hunting!

Translated by