Clear Filters
Clear Filters

Code generation from Simulink with GPU coder

2 views (last 30 days)
Hello. Is it possible to convert simulink model into CUDA code with GPU coder? I model with computer vision system toolbox.

Accepted Answer

Mark McBroom
Mark McBroom on 30 Nov 2017
No. Currently GPU coder only supports MATLAB code. This link explains how you can integrate CUDA code generated from MATLAB code into a Simulink model.
  2 Comments
Bhavanithya Thiraviaraja
Bhavanithya Thiraviaraja on 24 Apr 2018

I do not have license for GPU Coder. In that case, is there any way I can generate GPU code to use in Simulink? Can you please provide any reference. I searched but I couldn't find anything other than GPU Coder. I tried doing as described in my link and there is some error. https://de.mathworks.com/matlabcentral/answers/396776-processing-on-gpu-in-simulink

Matthew Cattle
Matthew Cattle on 23 Aug 2019
Is this still true for R2019a?
I would also like to use the GPU Coder to generate CUDA code from a Simulink model constructed from the vision system toolbox.

Sign in to comment.

More Answers (0)

Categories

Find more on Get Started with GPU Coder 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!