Internal error while creating code interface description file: codeInfo.mat. Aborting code generation. (asbQuadcopter-parrot mambo-R2021b)

51 次查看(过去 30 天)
Sir,
I received the following error while trying to build 'asbQuadcopter file

回答(1 个)

Dhruv
Dhruv 2024-5-21
It is important to note that having multiple build folders on the MATLAB path is generally not recommended due to the potential for unforeseen issues, such as the one you are experiencing. During the build process, MATLAB generates and reads from files with identical names across different builds, regardless of their content. This can lead to conflicts if there are multiple build folders on the path.
The root of the problem lies in how MATLAB determines which files to access when there are duplicates. MATLAB follows a specific Precedence Order
which means if there are other build folders earlier in the path (added manually), MATLAB might access a file from an unintended build folder. This scenario is likely what is causing the error you are encountering.
To avoid this issue, my recommendation is to refrain from adding build folders to the MATLAB path. This practice helps ensure that MATLAB accesses the correct files during the build process, thereby preventing errors related to file conflicts.

类别

Help CenterFile Exchange 中查找有关 MATLAB Support Package for Parrot Drones 的更多信息

Community Treasure Hunt

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

Start Hunting!

Translated by