- When declaring the coder.config file kindly ensure that you are using 'dll' as the 'build_type' parameter.
- Do not use '-config:dll' while generating the code, as this will point to the default configuration for dll generation.
- Ensure that necessary tools are installed and have been made available to MATLAB during code generation.
How to generate 32 bit DLL file from codegen in reinforcement learning toolbox?
4 次查看(过去 30 天)
显示 更早的评论
I try to deploy reinforcement learning agent and generate C code to 32 bit dll,
Because the target hardware in LabVIEW is 32 bit system.
But when i generated C code, I have to use intel-mkldnn that is 64 bit file.
How can I do to resolve it?
about mkldnn from (https://www.mathworks.com/matlabcentral/answers/447387)
the following is I try add code to transform 64 bit to 32 bit.
![](https://www.mathworks.com/matlabcentral/answers/uploaded_files/486503/image.jpeg)
0 个评论
回答(1 个)
Ganesh
2024-5-13
I understand that you are using a 32-bit system and would like to generate a 32 bit DLL file instead of the currently generated 64 bit DLL file.
Kindly ensure that your code is compatible with the following checks to ensure that your implementation is right:
For more information on using MKLDNN kindly refer to the following documentation:
I hope this helps!
0 个评论
另请参阅
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!