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 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.
Walter Roberson
Walter Roberson on 2 Jan 2023 at 0:43
TONG WENYANG comments to @陶杰 陶

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 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.


Find more on Simulink Support Package for Android Devices in Help Center and File Exchange




Community Treasure Hunt

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

Start Hunting!

Translated by