Code generation information file does not exist.
1.056 views (last 30 days)
Show older comments
Shaw on 19 Nov 2021
Answered: MD IFTEKHAR ASHRAF on 21 May 2023 at 12:32
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?
Areej Safdar on 20 Apr 2023
change your setting in simulink and selecl report "Create Code Generation Report".
Shaw on 25 Nov 2021
More Answers (7)
Paniz Sedighi on 27 Nov 2022
I solved this problem by setting the workspace path to the same path as my Simulink file.
Jesse Beaupre on 29 Mar 2023
It's a mystery to me why Simulink doesn't automatically set the correct path and you have to manually do it in 2023.
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:
Abdelrahman Salah Elwakeel on 5 Apr 2023
I also faced the same problem. However, the fix for me was that I was using the wrong programming cable (some usb cables are just for power not for programming)
Thats really strange. I am facing this problem in 2023 but my 2021 is not causing any problem
I had this problem from long time. There is problem with matlab version 2022b and 2023 onwards. They dont set automatically the path which sometimes cuase this error. I opted to 2021 matlab, there you will have communication interface option to select SERIAL. I simply select this and now working. TI Launchpads the solution with problems :)
The path itself doesnt resolve it. You need to make sure your simulink file and workspace path is same. It can be accessed from the top ribbon of main window of matlab (command prompt area)
abdullah on 25 Apr 2023
Ihave the same error in 2023 version when I use the s-function builder
have you solved it ?
feng on 18 May 2023 at 2:32
In Model settings，choose Gnerate code only.
MD IFTEKHAR ASHRAF on 21 May 2023 at 12:32
Go to the examples given in add ons - c2000 block set. There you will get the accurate solution.
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!