GPU acceleration option is not visible

Why GPU ACCELERATION option is not available in my Simulink Model. I have got GPU CODER license.
Please help.

4 个评论

The headers in the image suggest R2017b but you marked R2021b for the question. Could you clarify which release you are using?
Hi thanks for your replay. The model was initially built using 2017 and it is part of the simulink file name. This model was imported to MATLAB 2021b but I've never changed its name.
Can you try getting and setting GPUAcceleration using command line:
get_param('GE_PhaseControl_v01_R2017b', 'GPUAcceleration');
set_param('GE_PhaseControl_v01_R2017b', 'GPUAcceleration', 'on');
Thnaks very much for your help.

请先登录,再进行评论。

回答(0 个)

类别

在 帮助中心 和 File Exchange 中查找有关 Kernel Creation from Simulink Models 的更多信息

产品

版本

R2021b

提问:

2023-7-22

评论:

2023-7-26

Community Treasure Hunt

Find the treasures in MATLAB Central and discover how the community can help you!

Start Hunting!

Translated by