SimCoupler: SetSimPath.exe Failed

Zane Zudans
Zane Zudans Altair Community Member
edited August 16 in Community Q&A

Hi, I have not been able to use SimCoupler as running SetSimPath.exe (either through Utilities>SimCoupler Setup, or by directly running the executable) yields the following error:

image

Despite the error, I am not running MATLAB or any other Mathworks application and confirmed this through task manager and by restarting my computer.

Tagged:

Answers

  • Zane Zudans
    Zane Zudans Altair Community Member
    edited April 11

    Update: this appears to only be an issue with MATLAB 2023b. With 2023a the SimCoupler S-Function Library is added to the library browser.

    After a bit of investigation, I was able to get the S-Function SimCoupler library to show up in the library browser while using MATLAB 2023b, but only after running SimCoupler Setup for MATLAB 2023a, then manually adding the file path for the Altair_PSIM_2023.0 directory through MATLAB.

    This tells me your SetSimPath.exe is bugged for adding the filepath to MATLAB 2023b, but, everything else being done to generate the s-function block and library MATLAB 2023a seems to work for 2023b.

  • Rhonda_20369
    Rhonda_20369 New Altair Community Member
    edited April 11

    What version of PSIM are you using? This bug should have been fixed in PSIM2023.1

  • Zane Zudans
    Zane Zudans Altair Community Member
    edited April 12

    That is a good point. I am using PSIM2023.0

  • CarlosGarcia3DXPERT
    CarlosGarcia3DXPERT Altair Community Member
    edited August 16

    Hi, I have reviewed your case and would like to know if there is a compatibility table available for PSIM and Matlab versions, preferably between 2023 and 2024.

    Best regards.

    Carlos G.