everytime that i try opening the simulink the MATLAB closes, can someone help me?
    6 次查看(过去 30 天)
  
       显示 更早的评论
    
MATLAB crash file:C:\Users\LSFO\AppData\Local\Temp\matlab_crash_dump.5344-1:
--------------------------------------------------------------------------------
              Assertion detected at qui nov 29 01:13:45 2018 -0200
--------------------------------------------------------------------------------
Configuration:
  Crash Decoding           : Disabled - No sandbox or build area path
  Crash Mode               : continue (default)
  Default Encoding         : windows-1252
  Deployed                 : false
  Graphics Driver          : Unknown hardware 
  Graphics card 1          : (Tipos padrão de vídeo) ( 0x10de ) Adaptador de Vídeo Básico da Microsoft Version 10.0.17134.1 (2006-6-21)
  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    : 3329054
  MATLAB Root              : E:\Program Files\MATLAB\R2018b
  MATLAB Version           : 9.5.0.944444 (R2018b)
  OpenGL                   : hardware
  Operating System         : Microsoft Windows 10 Pro
  Process ID               : 5344
  Processor ID             : x86 Family 6 Model 58 Stepping 9, GenuineIntel
  Session Key              : 7c0ee229-3cee-442e-ac2b-bae08f874c4c
  Window System            : Version 10.0 (Build 17134)
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 = 0000000004a8edd8  RBX = 0000000004a8edd8
  RCX = 000000017402acd0  RDX = 0000000000000000
  RSP = 000000017402ac40  RBP = 0000000004449eb8
  RSI = 000000017402b998  RDI = 000000000444afc0
   R8 = 00007ff8dddde928   R9 = 00007ff8dddde930
  R10 = 0000c8b6bdcf2180  R11 = 0000000004a7eddc
  R12 = 000000017402b300  R13 = 00000000be04a236
  R14 = 0000000004449eb8  R15 = 0000000004a7ed08
  RIP = 000000000483292a  EFL = 00000202
   CS = 0033   FS = 0053   GS = 002b
Stack Trace (captured):
[  0] 0x000000000482b2c3                              bin\win64\libmwfl.dll+00045763 foundation::core::diag::thread_context::unspecified_bool+00000051
[  1] 0x0000000004829288                              bin\win64\libmwfl.dll+00037512 foundation::core::diag::stacktrace_base::capture+00000024
[  2] 0x000000000482e4cf                              bin\win64\libmwfl.dll+00058575 foundation::core::diag::symbols::getSymbolAddress+00012015
[  3] 0x000000000482d6d8                              bin\win64\libmwfl.dll+00055000 foundation::core::diag::symbols::getSymbolAddress+00008440
[  4] 0x000000000483220b                              bin\win64\libmwfl.dll+00074251 foundation::core::diag::terminate+00000059
[  5] 0x00000000044235fc                  bin\win64\libmwfoundation_usm.dll+00013820 foundation::usm::getErrorHandler+00000060
[  6] 0x000000000443a74e                  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] 0x0000000004ae0135                            bin\win64\pgo\libmx.dll+00131381 matrix::handleWarning+00000113
[ 13] 0x0000000004ae0319                            bin\win64\pgo\libmx.dll+00131865 matrix::handleWarning+00000597
[ 14] 0x0000000004ae15d1                            bin\win64\pgo\libmx.dll+00136657 matrix::WarningFilter::push+00000753
[ 15] 0x0000000004adfe01                            bin\win64\pgo\libmx.dll+00130561 matrix::detail::noninlined::mx_array_api::mxReInitArray2Type+00001253
[ 16] 0x0000000004b5a32b                            bin\win64\pgo\libmx.dll+00631595 mxWarningMsgId+00000063
[ 17] 0x00000000be4d87b7                     bin\win64\libmwsl_services.dll+02066359 slsv::hasSuppression+00003479
[ 18] 0x00000000be4e2a97                     bin\win64\libmwsl_services.dll+02108055 slsvWarning+00000551
[ 19] 0x00000000be5b7c3e                     bin\win64\libmwsl_services.dll+02980926 slsv::util::slsvNotifyDiagnosticListeners+00000206
[ 20] 0x00000000be4e2139                     bin\win64\libmwsl_services.dll+02105657 slsvReportAsWarning+00000489
[ 21] 0x00000000be013f40                           bin\win64\sltemplate.dll+00606016 QueryMLFcnTable_sltemplate+00263520
[ 22] 0x00000000be04a263                           bin\win64\sltemplate.dll+00828003 QueryMLFcnTable_sltemplate+00485507
[ 23] 0x00007ff8ddddc1e0 E:\Program Files\MATLAB\R2018b\bin\win64\VCRUNTIME140.dll+00049632 _C_specific_handler+00000560
[ 24] 0x00007ff8dddd2d03 E:\Program Files\MATLAB\R2018b\bin\win64\VCRUNTIME140.dll+00011523 _TypeMatch+00001379
[ 25] 0x00007ff8f4aae2c3                      C:\WINDOWS\SYSTEM32\ntdll.dll+00647875 RtlCaptureContext+00000995
[ 26] 0x00000000be0137e5                           bin\win64\sltemplate.dll+00604133 QueryMLFcnTable_sltemplate+00261637
[ 27] 0x00000000be02b5b8                           bin\win64\sltemplate.dll+00701880 QueryMLFcnTable_sltemplate+00359384
[ 28] 0x00000000be028cdc                           bin\win64\sltemplate.dll+00691420 QueryMLFcnTable_sltemplate+00348924
[ 29] 0x00000000be00f72f                           bin\win64\sltemplate.dll+00587567 QueryMLFcnTable_sltemplate+00245071
[ 30] 0x00000000bdfc3eb9                           bin\win64\sltemplate.dll+00278201 mwboost::serialization::singleton_module::unlock+00204057
[ 31] 0x00000000bdfc5d8c                           bin\win64\sltemplate.dll+00286092 mwboost::serialization::singleton_module::unlock+00211948
[ 32] 0x00000000bdfec33e                           bin\win64\sltemplate.dll+00443198 QueryMLFcnTable_sltemplate+00100702
[ 33] 0x00000000bdfef132                           bin\win64\sltemplate.dll+00454962 QueryMLFcnTable_sltemplate+00112466
[ 34] 0x00000000bdfeddf2                           bin\win64\sltemplate.dll+00450034 QueryMLFcnTable_sltemplate+00107538
[ 35] 0x00000000bdfef0f3                           bin\win64\sltemplate.dll+00454899 QueryMLFcnTable_sltemplate+00112403
[ 36] 0x00000000bdff5311                           bin\win64\sltemplate.dll+00480017 QueryMLFcnTable_sltemplate+00137521
[ 37] 0x00000000bdff10ad                           bin\win64\sltemplate.dll+00463021 QueryMLFcnTable_sltemplate+00120525
[ 38] 0x00000000bdfedede                           bin\win64\sltemplate.dll+00450270 QueryMLFcnTable_sltemplate+00107774
[ 39] 0x00007ff8dc5d8b59 E:\Program Files\MATLAB\R2018b\bin\win64\MSVCP140.dll+00101209 Concurrency::details::_ContextCallback::_CallInContext+00000233
[ 40] 0x00007ff8f4a3148c                      C:\WINDOWS\SYSTEM32\ntdll.dll+00136332 RtlAcquireSRWLockExclusive+00001036
[ 41] 0x00007ff8f4a2fa19                      C:\WINDOWS\SYSTEM32\ntdll.dll+00129561 RtlReleaseSRWLockExclusive+00001849
[ 42] 0x00007ff8f26e3034                   C:\WINDOWS\System32\KERNEL32.DLL+00077876 BaseThreadInitThunk+00000020
[ 43] 0x00007ff8f4a81471                      C:\WINDOWS\SYSTEM32\ntdll.dll+00463985 RtlUserThreadStart+00000033
0 个评论
回答(1 个)
  Gojo
      
 2024-10-12
        Hey Alexandre,
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!
0 个评论
另请参阅
类别
				在 Help Center 和 File Exchange 中查找有关 Startup and Shutdown 的更多信息
			
	产品
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!

