Code generation information file does not exist.
조회 수: 1,050 (최근 30일)
이전 댓글 표시
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?
댓글 수: 2
Areej Safdar
2023년 4월 20일
change your setting in simulink and selecl report "Create Code Generation Report".
채택된 답변
Shaw
2021년 11월 25일
댓글 수: 12
Zoltan Nagy
2023년 8월 3일
By default, I work in the Downloads folder, but anything with a short name, preferebly without space in the path would do, to be on the safe side.
Additional problems can be backup services, like OneDrive, which can sause the same issue - hence I use Downloads folder, as that is not backed up.
추가 답변 (9개)
Paniz Sedighi
2022년 11월 27일
I solved this problem by setting the workspace path to the same path as my Simulink file.
댓글 수: 1
Jesse Beaupre
2023년 3월 29일
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
2021년 11월 20일
Can you please try building corresponding example model once?
To launch the example model, please execute below commnd in MATLAB command window:
>> androidGettingStartedExample
Abdelrahman Salah Elwakeel
2023년 4월 5일
Hi,
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)
댓글 수: 1
Taimur Zaman
2023년 4월 11일
Thats really strange. I am facing this problem in 2023 but my 2021 is not causing any problem
Taimur Zaman
2023년 4월 11일
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 :)
댓글 수: 2
Abdul Kadar Jahangir
2023년 4월 11일
Hey, I'm facing the exact same issue with the F28335 control card. I wish to generate PWM pulses to a DC DC converter.
You mentioned that the issue is with the path not being set automatically. May I know the path to which file you are talking about here? If you can mention that, maybe I can try adding that and check if it works.
Taimur Zaman
2023년 4월 11일
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
2023년 4월 25일
Ihave the same error in 2023 version when I use the s-function builder
have you solved it ?
댓글 수: 1
MD IFTEKHAR ASHRAF
2023년 5월 21일
Go to the examples given in add ons - c2000 block set. There you will get the accurate solution.
댓글 수: 0
Liam Veit
2023년 12월 9일
Had the same issue on windows 2022b. For me, it was a permissions issue. Running MATLAB as an administrator fixed it.
댓글 수: 0
참고 항목
카테고리
Help Center 및 File Exchange에서 Android Devices에 대해 자세히 알아보기
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!