How to simulate the HEV P2 model that comes with Simulink?

Junjie Guo on 20 Dec 2023
Latest activity Reply by Darshan Pandit on 20 Dec 2023

I have encountered a problem. I want to study the direction of PHEVP2 configuration energy control strategy, but the whole vehicle model has stumped me. I don't know how to proceed, and every time I run, an error message will be reported. I don't understand where the problem lies?
Darshan Pandit
Darshan Pandit on 20 Dec 2023
hi Junjie,
It'd help if you could copy-paste the entire error message in the comment.
I guess it's a compiler issue. The model requires a supported C/C++ compiler. You can find a list of supported compilers below:
https://www.mathworks.com/support/requirements/supported-compilers.html
Junjie Guo
Junjie Guo on 20 Dec 2023
I forgot to attach the picture just now. How can I solve it?