When i open the simulink of matlab 2018b on windows,it crashed. What can i do for it? Please help me

1 回表示 (過去 30 日間)
Here is the detailed information
Assertion detected at 周三 4月 08 12:42:06 2020 +0800
--------------------------------------------------------------------------------
Configuration:
Crash Decoding : Disabled - No sandbox or build area path
Crash Mode : continue (default)
Default Encoding : GBK
Deployed : false
Graphics Driver : Unknown hardware
Graphics card 1 : NVIDIA ( 0x10de ) NVIDIA GeForce MX150 Version 25.21.14.1972 (2019-3-18)
Graphics card 2 : Intel Corporation ( 0x8086 ) Intel(R) UHD Graphics 620 Version 24.20.100.6287 (2018-8-15)
Java Version : Java 1.8.0_152-b16 with Oracle Corporation Java HotSpot(TM) 64-Bit Server VM mixed mode
MATLAB Architecture : win64
MATLAB Entitlement ID : 6257193
MATLAB Root : D:\Matlab
MATLAB Version : 9.5.0.1033004 (R2018b) Update 2
OpenGL : hardware
Operating System : Microsoft Windows 10 专业工作站版
Process ID : 13580
Processor ID : x86 Family 6 Model 142 Stepping 10, GenuineIntel
Session Key : c9aa316d-f852-4b5c-812d-d821428abcfd
Window System : Version 10.0 (Build 18363)
Fault Count: 1
Assertion in foundation::usm::Detail<struct foundation::usm::scope::Mvm>::find at b:\matlab\foundation\usm\management.cpp line 723
Register State (captured):
RAX = 0000000010a3edd8 RBX = 0000000010a3edd8
RCX = 00000000f95faa00 RDX = 0000000000000000
RSP = 00000000f95fa970 RBP = 0000000004469eb8
RSI = 00000000f95fb6c8 RDI = 000000000446afc0
R8 = 000000004b8c1be0 R9 = 00007ffe7fbce930
R10 = 0000000000000014 R11 = 000000004d9ec390
R12 = 00000000f95fb030 R13 = 00000000fd84a236
R14 = 0000000004469eb8 R15 = 0000000010a2ed08
RIP = 00000000107e292a EFL = 00000202
CS = 0033 FS = 0053 GS = 002b
Stack Trace (captured):
[ 0] 0x00000000107db2c3 bin\win64\libmwfl.dll+00045763 foundation::core::diag::thread_context::unspecified_bool+00000051
[ 1] 0x00000000107d9288 bin\win64\libmwfl.dll+00037512 foundation::core::diag::stacktrace_base::capture+00000024
[ 2] 0x00000000107de4cf bin\win64\libmwfl.dll+00058575 foundation::core::diag::symbols::getSymbolAddress+00012015
[ 3] 0x00000000107dd6d8 bin\win64\libmwfl.dll+00055000 foundation::core::diag::symbols::getSymbolAddress+00008440
[ 4] 0x00000000107e220b bin\win64\libmwfl.dll+00074251 foundation::core::diag::terminate+00000059
[ 5] 0x00000000044435fc bin\win64\libmwfoundation_usm.dll+00013820 foundation::usm::getErrorHandler+00000060
[ 6] 0x000000000445a74e bin\win64\libmwfoundation_usm.dll+00108366 foundation::usm::Detail<foundation::usm::scope::Mvm>::find+00000158
[ 7] 0x00000001001e43c4 bin\win64\libmwservices.dll+02048964 featureCallCount+00003396
[ 8] 0x00000001001e3c34 bin\win64\libmwservices.dll+02047028 featureCallCount+00001460
[ 9] 0x00000001001e5530 bin\win64\libmwservices.dll+02053424 svFindFeatureEntry+00000080
[ 10] 0x00000001001e6129 bin\win64\libmwservices.dll+02056489 svIsFeatureEnabled+00000009
[ 11] 0x00000001000845dc bin\win64\libmwservices.dll+00607708 ioPrintWrapped+00000076
[ 12] 0x0000000010a90135 bin\win64\pgo\libmx.dll+00131381 matrix::handleWarning+00000113
[ 13] 0x0000000010a90319 bin\win64\pgo\libmx.dll+00131865 matrix::handleWarning+00000597
[ 14] 0x0000000010a915d1 bin\win64\pgo\libmx.dll+00136657 matrix::WarningFilter::push+00000753
[ 15] 0x0000000010a8fe01 bin\win64\pgo\libmx.dll+00130561 matrix::detail::noninlined::mx_array_api::mxReInitArray2Type+00001253
[ 16] 0x0000000010b0a32b bin\win64\pgo\libmx.dll+00631595 mxWarningMsgId+00000063
[ 17] 0x00000001482287b7 bin\win64\libmwsl_services.dll+02066359 slsv::hasSuppression+00003479
[ 18] 0x0000000148232a97 bin\win64\libmwsl_services.dll+02108055 slsvWarning+00000551
[ 19] 0x0000000148307c3e bin\win64\libmwsl_services.dll+02980926 slsv::util::slsvNotifyDiagnosticListeners+00000206
[ 20] 0x0000000148232139 bin\win64\libmwsl_services.dll+02105657 slsvReportAsWarning+00000489
[ 21] 0x00000000fd813f40 bin\win64\sltemplate.dll+00606016 QueryMLFcnTable_sltemplate+00263520
[ 22] 0x00000000fd84a263 bin\win64\sltemplate.dll+00828003 QueryMLFcnTable_sltemplate+00485507
[ 23] 0x00007ffe7fbcc1e0 D:\Matlab\bin\win64\VCRUNTIME140.dll+00049632 _C_specific_handler+00000560
[ 24] 0x00007ffe7fbc2d03 D:\Matlab\bin\win64\VCRUNTIME140.dll+00011523 _TypeMatch+00001379
[ 25] 0x00007ffe91b60666 C:\WINDOWS\SYSTEM32\ntdll.dll+00656998 RtlCaptureContext+00001382
[ 26] 0x00000000fd8137e5 bin\win64\sltemplate.dll+00604133 QueryMLFcnTable_sltemplate+00261637
[ 27] 0x00000000fd82b5b8 bin\win64\sltemplate.dll+00701880 QueryMLFcnTable_sltemplate+00359384
[ 28] 0x00000000fd828cdc bin\win64\sltemplate.dll+00691420 QueryMLFcnTable_sltemplate+00348924
[ 29] 0x00000000fd80f72f bin\win64\sltemplate.dll+00587567 QueryMLFcnTable_sltemplate+00245071
[ 30] 0x00000000fd7c3eb9 bin\win64\sltemplate.dll+00278201 mwboost::serialization::singleton_module::unlock+00204057
[ 31] 0x00000000fd7c5d8c bin\win64\sltemplate.dll+00286092 mwboost::serialization::singleton_module::unlock+00211948
[ 32] 0x00000000fd7ec33e bin\win64\sltemplate.dll+00443198 QueryMLFcnTable_sltemplate+00100702
[ 33] 0x00000000fd7ef132 bin\win64\sltemplate.dll+00454962 QueryMLFcnTable_sltemplate+00112466
[ 34] 0x00000000fd7eddf2 bin\win64\sltemplate.dll+00450034 QueryMLFcnTable_sltemplate+00107538
[ 35] 0x00000000fd7ef0f3 bin\win64\sltemplate.dll+00454899 QueryMLFcnTable_sltemplate+00112403
[ 36] 0x00000000fd7f5311 bin\win64\sltemplate.dll+00480017 QueryMLFcnTable_sltemplate+00137521
[ 37] 0x00000000fd7f10ad bin\win64\sltemplate.dll+00463021 QueryMLFcnTable_sltemplate+00120525
[ 38] 0x00000000fd7edede bin\win64\sltemplate.dll+00450270 QueryMLFcnTable_sltemplate+00107774
[ 39] 0x00007ffe7d5b8b59 D:\Matlab\bin\win64\MSVCP140.dll+00101209 Concurrency::details::_ContextCallback::_CallInContext+00000233
[ 40] 0x00007ffe91af089d C:\WINDOWS\SYSTEM32\ntdll.dll+00198813 TpReleaseWait+00001357
[ 41] 0x00007ffe91af4634 C:\WINDOWS\SYSTEM32\ntdll.dll+00214580 RtlInitializeResource+00003300
[ 42] 0x00007ffe907c7bd4 C:\WINDOWS\System32\KERNEL32.DLL+00097236 BaseThreadInitThunk+00000020
[ 43] 0x00007ffe91b2ced1 C:\WINDOWS\SYSTEM32\ntdll.dll+00446161 RtlUserThreadStart+00000033

回答 (1 件)

Shubham
Shubham 2024 年 10 月 9 日
編集済み: Shubham 2024 年 10 月 9 日
It appears that you are experiencing a crash as you do not have access to the folder specified in Windows registry key HKEY_CURRENT_USER. This is a known issue in MATLAB R2021b. Updating to MATLAB R2022a fixes the issue.
If you wish to resolve this issue in your current MATLAB version, You can try the following workaround:
1. Examine the value of the HKEY_CURRENT_USER Windows registry key and ensure that you have access to the location it specifies. Use this Windows command:
reg query "HKEY_CURRENT_USER\Software\Microsoft\Windows\CurrentVersion\Explorer\User Shell Folders" /v Personal
2. If the registry value does not point to a valid and accessible location, reset the value or point to a desired accessible location. Use this command:
reg add "HKEY_CURRENT_USER\Software\Microsoft\Windows\CurrentVersion\Explorer\User Shell Folders" /v Personal /t REG_SZ /d "C:\Users\<username>\Documents" /f
For more detailed explaination, please refer to the following Bug Report:
If the issue persists, I suggest you to create a Service Request for the same here: https://www.mathworks.com/support/contact_us.html?s_tid=hc_trail
I hope this helps in resolving the issue!

カテゴリ

Help Center および File ExchangeStartup and Shutdown についてさらに検索

Community Treasure Hunt

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

Start Hunting!

Translated by