Clear Filters
Clear Filters

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

36 views (last 30 days)
Sir,
I received the following error while trying to build 'asbQuadcopter file

Answers (1)

Dhruv
Dhruv on 21 May 2024
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.

Categories

Find more on MATLAB Support Package for Parrot Drones in Help Center and File Exchange

Products


Release

R2021b

Community Treasure Hunt

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

Start Hunting!