Back to Forums
3 posts / 0 new
Last post
#1 Nov 7, 2020
stos
Offline
Last seen: 3 years 4 months ago
Joined: 2020-11-06 16:40

Error while obtaining sizes from MEX S-function 'PSpice' in

Location

Germany
DE

Hello,

I get the following error: 

Error while obtaining sizes from MEX S-function 'PSpice' in 'DC_MOTOR_DEVICE_SLPS/PSpiceBlock'.

Caused by:

  • Invalid MEX-file 'C:\Program Files (x86)\cadence\tools\pspice\pspCosim\PSpice.mexw64': The specified module could not be found. 

Steps done:

I added the paths in both the user and the systems path variable:

This is my 'system variables': Path: "C:\Program Files (x86)\Common Files\Oracle\Java\javapath;%SystemRoot%\system32;%SystemRoot%;%SystemRoot%\System32\Wbem;%SYSTEMROOT%\System32\WindowsPowerShell\v1.0\;%SYSTEMROOT%\System32\OpenSSH\;C:\Program Files\MATLAB\R2020a\runtime\win64;C:\Program Files\MATLAB\R2020a\bin;C:\Program Files\dotnet\;C:\Program Files (x86)\cadence\tools\bin;C:\Program Files (x86)\cadence\tools\pspice;C:\Program Files (x86)\cadence\tools\libutil\bin;C:\Program Files (x86)\cadence\tools\fet\bin;C:\Program Files (x86)\cadence\tools\specctra\bin;C:\Program Files (x86)\cadence\openaccess\bin\win32\opt;C:\Program Files (x86)\cadence\tools\capture;C:\Program Files (x86)\cadence\tools\pcb\bin; "

This is my 'user variables': Path: "C:\Program Files (x86)\GNU Arm Embedded Toolchain\9 2020-q2-update\bin;%USERPROFILE%\AppData\Local\Microsoft\WindowsApps;%USERPROFILE%\.dotnet\tools;C:\Program Files (x86)\cadence\tools\bin;C:\Program Files (x86)\cadence\tools\pspice;C:\Program Files (x86)\cadence\tools\libutil\bin;C:\Program Files (x86)\cadence\tools\fet\bin;C:\Program Files (x86)\cadence\tools\specctra\bin;C:\Program Files (x86)\cadence\openaccess\bin\w32\opt;"

I added the following paths to the matlab paths:  

  • C:\Program Files (x86)\cadence\tools\bin
  • C:\Program Files (x86)\cadence\tools\pspice\pspCosim

Thank you in advance.

btw. I'm using the student version 17.4-2019-P001

Mon, 2020-11-09 14:08
stos
Offline
Last seen: 3 years 4 months ago
Joined: 2020-11-06 16:40

It appears that the s function cannot be found:

"The s function source file cannot be found."

Sat, 2022-10-08 04:23
gulam88n
gulam88n's picture
Offline
Last seen: 1 year 5 months ago
Joined: 2022-03-04 03:26

 

Oh my goodness! a fantastic post dude. Thanks Nevertheless My business is experiencing issue with ur rss . Don’t know why Not able to sign up for it.  [url=https://portal.info.go.th/%e0%b9%83%e0%b8%9a%e0%b8%ad%e0%b8%99%e0%b8%8d%...ใบขับขี่ แท็กซี่[/url]

Download PSpice and try it for free! Download Free Trial
Cadence