Internal error while creating code interface description file: codeInfo.mat. Aborting code generation. (asbQuadcopter-parrot mambo-R2021b)
50 次查看(过去 30 天)
显示 更早的评论
Sir,
I received the following error while trying to build 'asbQuadcopter file
2 个评论
DEYI YANG
2022-6-10
Hello, have you solved this problem?
I also encountered the same problem today,I would like to know how you solved it at that time
回答(1 个)
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 Center 和 File 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!