![](https://www.mathworks.com/matlabcentral/answers/uploaded_files/1592941/image.png)
There is no generated (*.elf) file from code deployment on Raspberry pi..
8 次查看(过去 30 天)
显示 更早的评论
I am trying to deploy matlab code on Raspberry pi. Code generation was copmleted successfully, but there is no output file (.elf) in the directory. In addition, how could i run the stand alone code in Raspberry pi?
![](https://www.mathworks.com/matlabcentral/answers/uploaded_files/944864/image.png)
0 个评论
回答(1 个)
Lokesh
2024-1-17
编辑:Lokesh
2024-1-18
Hello Ali,
I understand that you cannot find the output file(.elf) after code generation in the directory mentioned in code generation report.
Please look for the generated executable in the directory containing the source function for which you are generating the code.If you are unable to find the generated executable file after code generation, it is important to check that you have not selected the 'Generate code only' option during the code generation process. This option, when enabled, would result in MATLAB generating only the source code without compiling it into an executable file.(Refer to the attached figure)
![](https://www.mathworks.com/matlabcentral/answers/uploaded_files/1592941/image.png)
After adjusting the settings, recompile your code and once the code generation is complete, verify the specified output directory for the executable file.
Please refer to following resource for insights on running the standalone code in Raspberry Pi:
0 个评论
另请参阅
类别
在 Help Center 和 File Exchange 中查找有关 MATLAB Support Package for Raspberry Pi Hardware 的更多信息
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!