Unable to find S-function module 'SimCoupler'. S-function modules must exist as either source files or pre-compiled object files on the MATLAB path.

16 visualizaciones (últimos 30 días)
Hello team!!
Already generated the blocks for a particular controller of an 3-phase NPC inverter. I was able to do the co-simulation with PSIM and all was fine.
I implemented an ePWM block that correspond to a custom board using the TI DSP F28377D and all was okay (no NPC configuartion, just stand alone ePWM's tests)
Now, I'm trying to put all together (see below image) in order to observe the waveform in PSIM and at the same time generate the code to be fed to the DSP and observe the same waveforms in the oscilloscope.
Inside the DPS PWM block:
TRied to Build,deploy&Start and I got a suggestion from SIMULINK to activate the "Support non-inlined S-functions", I did it and tried again and I got the error:
Unable to find S-function module 'SimCoupler'. S-function modules must exist as either source files or pre-compiled object files on the MATLAB path.
I know that MATLAB make a copy of SimCoupler (and some ancilliary files as well) in C:\Program Files\MATLAB\R2022b\toolbox\simulink, I confirmed and debug the "shadowed" files on it but still having this error.
I'm a kind of newby in SIMULINK, but I supposed that these files "existed" for SIMULINK to be used right? otherwhise, how to "pre-compile" them to utilize that feature?
Some suggestions or some sort of walk around this problem?
PS. tried to use the DMA-ePWM example to avoid the PSIM co-simulation and check in SIMULINK and oscilloscope the waveforms at the same time, but this custom board is not friendly at all to acheive that feature (it uses for SCI a rs-232+USB dongle).

Respuestas (1)

ANGEL DEL PINO JIMENEZ
ANGEL DEL PINO JIMENEZ el 29 de En. de 2024
Similar issue here with a PSU, Unable to find 'SendInstrument'.
Did you finally solve it?

Etiquetas

Productos


Versión

R2022b

Community Treasure Hunt

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

Start Hunting!

Translated by