PSpice matlab co-simulation

4 views (last 30 days)
刘
on 23 Aug 2024
Commented: Andreas Goser on 26 Aug 2024
Can someone help me with this problem?
After I configured the co-simulation environment, I clicked the run button in simulink, and finally the matlab crash task box popped up. The crash log file is as follows:
--------------------------------------------------------------------------------
Access violation detected at 2024-08-23 11:04:18 +0800
--------------------------------------------------------------------------------
Configuration:
Crash Decoding : Disabled - No sandbox or build area path
Crash Mode : continue (default)
Default Encoding : UTF-8
Deployed : false
Graphics Driver : Uninitialized hardware
Graphics card 1 : NVIDIA ( 0x10de ) NVIDIA GeForce RTX 2060 Version 27.21.14.6109 (2020-12-31)
Graphics card 2 : Advanced Micro Devices, Inc. ( 0x1002 ) AMD Radeon(TM) Graphics Version 31.0.14046.0 (2023-3-29)
Java Version : Java 1.8.0_202-b08 with Oracle Corporation Java HotSpot(TM) 64-Bit Server VM mixed mode
MATLAB Architecture : win64
MATLAB Entitlement ID : 6257193
MATLAB Root : E:\
MATLAB Version : 9.13.0.2049777 (R2022b)
OpenGL : hardware
Operating System : Microsoft Windows 10 专业版
Process ID : 4572
Processor ID : x86 Family 23 Model 96 Stepping 1, AuthenticAMD
Session Key : 48ca539b-11d4-4b26-8160-2f1f574fff65
Window System : Version 10.0 (Build 19044)
Fault Count: 1
Abnormal termination:
Access violation
Current Thread: '' id 17540
Register State (from fault):
RAX = 3e112e0be826d695 RBX = 0000000000000002
RCX = 00000207c4e87d50 RDX = 000000a5b8fff0f0
RSP = 000000a5b8fff0a8 RBP = 000000000000002a
RSI = 00007ffe3b362a58 RDI = 00007ffe3b345d78
R8 = 0000020724ce0110 R9 = 0000000000004000
R10 = 0000000000000000 R11 = 0000000000000246
R12 = 0000000000000001 R13 = 00007ffe3be3e2f0
R14 = 00007ffe3b3ef180 R15 = 000000000000002a
RIP = 00007ffe3be32166 EFL = 00010202
CS = 0033 FS = 0053 GS = 002b
Stack Trace (from fault):
[ 0] 0x00007ffe3be32166 E:\Cadence\SPB_17.2\tools\pspice\slps\psstub.dll+00008550
[ 1] 0x00007ffe3adfa844 E:\Cadence\SPB_17.2\tools\bin\orPSP_ENG64.dll+00501828 pspMatlabEng_eng::operator=+00022116
[ 2] 0x00007ffe3ae31c6a E:\Cadence\SPB_17.2\tools\bin\orPSP_ENG64.dll+00728170 PSpiceNewDevEqDLL+00138858
[ 3] 0x00007ffe3ad8f101 E:\Cadence\SPB_17.2\tools\bin\orPSP_ENG64.dll+00061697 InitializeDevice+00043665
[ 4] 0x00007ffe3af7dc72 E:\Cadence\SPB_17.2\tools\bin\orPSP_ENG64.dll+02088050 setHInstanceExt+00095330
[ 5] 0x00007ffe3adf3171 E:\Cadence\SPB_17.2\tools\bin\orPSP_ENG64.dll+00471409 descSetMinTerminalCount+00108705
[ 6] 0x00007ffe3adf30d9 E:\Cadence\SPB_17.2\tools\bin\orPSP_ENG64.dll+00471257 descSetMinTerminalCount+00108553
[ 7] 0x00007ffe3af592ad E:\Cadence\SPB_17.2\tools\bin\orPSP_ENG64.dll+01938093 PSpiceDoSimulinkAnalysis+00000925
[ 8] 0x00007ffe3be3155a E:\Cadence\SPB_17.2\tools\pspice\slps\psstub.dll+00005466
[ 9] 0x00007ffe3be32584 E:\Cadence\SPB_17.2\tools\pspice\slps\psstub.dll+00009604
[ 10] 0x00007ffe3be73fef E:\bin\win64\MSVCR110.dll+00147439 beginthreadex+00000263
[ 11] 0x00007ffe3be74196 E:\bin\win64\MSVCR110.dll+00147862 endthreadex+00000402
[ 12] 0x00007fff2b4d7034 C:\Windows\System32\KERNEL32.DLL+00094260 BaseThreadInitThunk+00000020
[ 13] 0x00007fff2bf026a1 C:\Windows\SYSTEM32\ntdll.dll+00337569 RtlUserThreadStart+00000033
Program State:
Most Recent Simulink Activity:
playSimulationAction : OK in editor 1 at Fri Aug 23 11:03:58 2024
  1 Comment
Andreas Goser
Andreas Goser on 26 Aug 2024
Approximately half of the issues with 3rd party products and co-simulations are caused by unsupported versions. My recommendation is to start with checking the exact versions supported by the tools and the OS.

Sign in to comment.

Answers (0)

Categories

Find more on Introduction to Installation and Licensing 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!