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

51 ビュー (過去 30 日間)
Sarika Raju
Sarika Raju 2021 年 12 月 20 日
コメント済み: Yang Liu 2024 年 11 月 18 日 10:12
Sir,
I received the following error while trying to build 'asbQuadcopter file
  2 件のコメント
DEYI YANG
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
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 ExchangeMATLAB Support Package for Parrot Drones についてさらに検索

製品


リリース

R2021b

Community Treasure Hunt

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

Start Hunting!

Translated by