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 件のコメント

Walter Roberson
Walter Roberson 2023 年 7 月 22 日
The headers in the image suggest R2017b but you marked R2021b for the question. Could you clarify which release you are using?
TeraWatt
TeraWatt 2023 年 7 月 22 日
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.
Chao Luo
Chao Luo 2023 年 7 月 24 日
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');
TeraWatt
TeraWatt 2023 年 7 月 26 日
Thnaks very much for your help.

サインインしてコメントする。

回答 (0 件)

カテゴリ

ヘルプ センター および File ExchangeKernel 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