Simcoupler

Is it possile to run PIL and Simcoupler modules at the same time?
I’m trying to run a simulink file in matlab containing a simcoupler block which is associated with a PSIM file containing a PIL module. When I run this simulink simulation in matlab, I get the following error (“test” is the name of my simulink file):

Error reported by S-function ‘SimCoupler’ in ‘[test/test_simcpupler]’: PSIM Error: “SCInitialize”
Component:Simulink | Category:Block error