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 Kommentare

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

Melden Sie sich an, um zu kommentieren.

Antworten (0)

Kategorien

Mehr zu Modeling finden Sie in Hilfe-Center und File Exchange

Produkte

Version

R2021b

Gefragt:

am 22 Jul. 2023

Kommentiert:

am 26 Jul. 2023

Community Treasure Hunt

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

Start Hunting!

Translated by