Why wont my MATLAB software run after i installed it?

2 ビュー (過去 30 日間)
Noah Dusseau
Noah Dusseau 2018 年 8 月 22 日
回答済み: Shubham 2024 年 10 月 18 日
My recently installed MATLAB crashes immediately as its opened with the message: "MATLAB has encountered an internal problem and needs to close". It also gives this crash report:
MATLAB crash <file:C>:\Users\nduss\AppData\Local\Temp\matlab_crash_dump.38688-1:
--------------------------------------------------------------------------------
Assertion detected at Tue Aug 21 09:57:52 2018 -0400
--------------------------------------------------------------------------------
Configuration:
Crash Decoding : Disabled - No sandbox or build area path
Crash Mode : continue (default)
Default Encoding : windows-1252
Deployed : false
Java Version : Java 1.8.0_144-b01 with Oracle Corporation Java HotSpot(TM) 64-Bit Server VM mixed mode
MATLAB Architecture : win64
MATLAB Entitlement ID : 2075860
MATLAB Root : C:\Program Files\MATLAB\R2018a
MATLAB Version : 9.4.0.813654 (R2018a)
Operating System : Microsoft Windows 10 Home
Process ID : 38688
Processor ID : x86 Family 6 Model 142 Stepping 10, GenuineIntel
Session Key : c36aa01b-e884-4952-b6c1-9ca6f6aabd32
Window System : Version 10.0 (Build 16299)
Fault Count: 1
Assertion in foundation::usm::Detail<struct foundation::usm::scope::Mvm>::find at b:\matlab\foundation\usm\management.cpp line 671
Register State (captured):
RAX = 0000000012ae2ef8 RBX = 0000000000000000
RCX = 00000000e67bbfe0 RDX = 0000000000000000
RSP = 00000000e67bbf60 RBP = 0000000013c96b08
RSI = 0000000012ae2ef8 RDI = 0000000012ae2ef8
R8 = 00002b14846eb702 R9 = 00007ffe9d610000
R10 = 0000000012a1a298 R11 = 0000000012ad2efc
R12 = 00000000e67bc620 R13 = 0000000012ad2e28
R14 = 0000000012ae2e78 R15 = 0000000013c96b08
RIP = 00000000128dc44a EFL = 00000206
CS = 0033 FS = 0053 GS = 002b
Stack Trace (captured):
[ 0] 0x00000000128d6063 bin\win64\libmwfl.dll+00155747 foundation::core::diag::thread_context::unspecified_bool+00000051
[ 1] 0x00000000128d4658 bin\win64\libmwfl.dll+00149080 foundation::core::diag::stacktrace_base::capture+00000024
[ 2] 0x00000000128d8925 bin\win64\libmwfl.dll+00166181 foundation::core::diag::symbols::getSymbolAddress+00009941
[ 3] 0x00000000128d7aae bin\win64\libmwfl.dll+00162478 foundation::core::diag::symbols::getSymbolAddress+00006238
[ 4] 0x00000000128dbd3b bin\win64\libmwfl.dll+00179515 foundation::core::diag::terminate+00000059
[ 5] 0x0000000013c7340c bin\win64\libmwfoundation_usm.dll+00013324 foundation::usm::getErrorHandler+00000060
[ 6] 0x0000000013c87c29 bin\win64\libmwfoundation_usm.dll+00097321 foundation::usm::Detail<foundation::usm::scope::Mvm>::find+00000233
[ 7] 0x0000000100039ce7 bin\win64\libmwservices.dll+00302311 MLPushDefaultSink::`default constructor closure'+00003239
[ 8] 0x000000010006f98f bin\win64\libmwservices.dll+00522639 ioPrintWrapped+00000063
[ 9] 0x0000000012b30e01 bin\win64\pgo\libmx.dll+00134657 matrix::handleWarning+00000113
[ 10] 0x0000000012b30fa1 bin\win64\pgo\libmx.dll+00135073 matrix::handleWarning+00000529
[ 11] 0x0000000012b324fd bin\win64\pgo\libmx.dll+00140541 mxWarningMsgId+00000589
[ 12] 0x0000000012b32394 bin\win64\pgo\libmx.dll+00140180 mxWarningMsgId+00000228
[ 13] 0x0000000012b322d9 bin\win64\pgo\libmx.dll+00139993 mxWarningMsgId+00000041
[ 14] 0x0000000022dadb68 bin\win64\uiw.dll+00121704 UIW_Initialize_Windows7_Specific+00001144
[ 15] 0x00000000f9a2219d bin\win64\nativewindows.dll+00008605 Java_com_mathworks_jmi_NativeWindows_Win7Init+00000013
[ 16] 0x000000006c1b7f74 <unknown-module>+00000000
How can i fix this issue?
  1 件のコメント
Walter Roberson
Walter Roberson 2018 年 8 月 22 日
I think you are probably going to need to contact Mathworks for free installation support.

サインインしてコメントする。

回答 (1 件)

Shubham
Shubham 2024 年 10 月 18 日
Hey Noah,
I believe you are facing 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 and updating to MATLAB R2022a resolves this.
Alternatively, You can do the following:
1. Check the value of the HKEY_CURRENT_USER Windows registry key while ensuring 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. The registry value should point to a valid and accessible location, otherwise, reset the value 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
Check out to the following Bug Report for more detailed explaination:
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