Calling PSCAD to Matlab

10 views (last 30 days)
Muhammad Usama
Muhammad Usama on 12 Dec 2019
Answered: ahmed ali on 18 Nov 2024 at 15:19
Good AfterNoon
I am currently a PhD scholar in university of malaysia.
Actually i want to interface matlab and Pscad
My question is
I want to call PSCAD from Matlab, but i am not finding any library how to call PSCad file into matlab.
Thanking you
  2 Comments
Muhammad Usama
Muhammad Usama on 12 Dec 2019
Thank you for your response But sir on the given links the answer is related to calling Matlab from PSCAD ( i am familier with this) But my question is how can i call PSCAD from MATLAB

Sign in to comment.

Answers (2)

Walter Roberson
Walter Roberson on 12 Dec 2019
https://hvdc.ca/pscad/automationlibrary
You can have MATLAB call Python to use the pscad automation libraries
This tends to suggest that with enough work a direct interface could be constructed, but it is doubtful that it is worth the effort.

ahmed ali
ahmed ali on 18 Nov 2024 at 15:19
Hi Muhammad,
Please follow the below link, I have provided an answer to it and hope it might help
There is another way but it is a bit cummbersome by converting '*.m' source code directly to 'C' code using the MATLAB Coder, and then directly compile and link the 'C' source code into the EMTDC executable. However, you may lose the ability to edit the MATLAB '*.m' interpreted file during simulations and this way of hard compiled approach may not work with any MATLAB graphical functions.

Categories

Find more on Electrical Block Libraries in Help Center and File Exchange

Community Treasure Hunt

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

Start Hunting!