Code generation information file does not exist.

756 views (last 30 days)
I have trying different example codes in simuling for android.
I am constantly getting the following error
" Code generation information file does not exist. "
What does the error mean?

Accepted Answer

Shaw
Shaw on 25 Nov 2021
The issue was with path. The path was too long for the model to execute. I have shortened the path ,now the model works fine.
  7 Comments
Walter Roberson
Walter Roberson on 2 Jan 2023 at 0:43
TONG WENYANG comments to @陶杰 陶
先不要点Simulink,就是在打开matlab内个界面,然后你看新建和打开的下面有一串文件地址,小文件夹图标从左往右点第三个,然后你就可以选择路径了,你直接选择你把simulink之后内个文件的路径直接选进去就可以了,亲测有效。

Sign in to comment.

More Answers (2)

Sutanu Maiti
Sutanu Maiti on 20 Nov 2021
Can you please try building corresponding example model once?
To launch the example model, please execute below commnd in MATLAB command window:
>> androidGettingStartedExample
  1 Comment
Shaw
Shaw on 21 Nov 2021
I have tried for the above mentioned example.
The model executed with warnings.
But when I try to do with other examples, again the same error occurs.

Sign in to comment.


Paniz Sedighi
Paniz Sedighi on 27 Nov 2022
I solved this problem by setting the workspace path to the same path as my Simulink file.

Categories

Find more on Simulink Support Package for Android Devices 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!

Translated by