Hi RemilBed,
PSCAD and MATLAB supports a co-simulation environment that you can utilize to import your Simulink model to PSCAD environment.
You can follow the below mentioned steps to setup the co-simulation environment:
- To setup the PSCAD/MATLAB co-simulation environment, Intel(R) Fortan compiler and Microsoft VS Code software are required.
- Test your Intel Fortan compiler setup. This can be done by launching PSCAD and selecting the FORTAN compiler. Next, load a case into PSCAD and run it. Successful run indicates that the compiler is working fine.
- Test your PSCAD-MATLAB Co-simulation, select your MATLAB version and try running a simple MATLAB example.
- If the example runs successfully, you are ready to use the co-simulation environment.
For more workarounds, you can refer to the following MATLAB Answers post:
I hope this helps.