Simulink & raspberrypi

7 views (last 30 days)
洪宇
洪宇 on 28 Mar 2024
Answered: Nicholas Zhou on 29 Mar 2024
running “getting started with raspberry pi support package”,raspberrypi has connected ,but simulnk failed
MATLAB Log File: C:\Users\62793\AppData\Local\Temp\matlab_crash_dump.21264-1
------------------------------------------------
MATLAB Log File
------------------------------------------------
--------------------------------------------------------------------------------
Assertion detected at 2024-03-28 16:52:28 +0800
--------------------------------------------------------------------------------
Configuration:
Crash Decoding : Disabled - No sandbox or build area path
Crash Mode : continue (default)
Default Encoding : UTF-8
Deployed : false
Graphics Driver : NVIDIA Corporation GeForce GT 710/PCIe/SSE2 Version 4.6.0 NVIDIA 456.71
Graphics card 1 : NVIDIA ( 0x10de ) NVIDIA GeForce GT 710 Version 27.21.14.5671 (2020-9-30)
Graphics card 2 : Intel Corporation ( 0x8086 ) Intel(R) UHD Graphics 630 Version 27.20.100.9664 (2021-6-1)
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 : 10866707
MATLAB Root : E:\mathlab
MATLAB Version : 9.14.0.2306882 (R2023a) Update 4
OpenGL : hardware
Operating System : Microsoft Windows 11 家庭中文版
Process ID : 21264
Processor ID : x86 Family 6 Model 158 Stepping 13, GenuineIntel
Session Key : 0f691fba-6781-40b0-9441-3f42e80acc32
Window System : Version 10.0 (Build 22631)
Fault Count: 1
Assertion in struct mxArray_tag *__cdecl `anonymous-namespace'::MxCreateStringNCharsT_safe<unsigned char>::operator ()(const char *,const unsigned char *,unsigned __int64) const at B:\matlab\foundation\matrix\src\matrix\array2.cpp line 500:
mxCreateString called with non-UTF-8 input: make: 进入目录“/home/pi/MATLAB_ws/R2023a/E/Onedrive/文档/MATLAB/Examples/R2023a/raspberrypi/GettingStartedWithSimulinkRaspberryPiHardwareExample/raspberrypi_gettingstarted_ert_rtw”
gcc -c -MMD -MP -MF"devices.c.dep" -MT"devices.c.o" -O0 -D__MW_TARGET_USE_HARDWARE_RESOURCES_H__ -DMW_CAN_BITRATE=500000 -DMW_CAN_ALLOWALLMSGS=1 -DCLASSIC_INTERFACE=0 -DALLOCATIONFCN=0 -DONESTEPFCN=1 -DTERMFCN=1 -DMULTI_INSTANCE_CODE=0 -DINTEGER_CODE=0 -DMT=0 -DTID01EQ=0 -D__linux__ -DARM_PROJECT -D_USE_TARGET_UDP_ -D_RUNONTARGETHARDWARE_BUILD_ -DSTACK_SIZE=64 -DRT -DMODEL=raspberrypi_gettingstarted -DNUMST=1 -DNCSTATES=0 -DHAVESTDIO -DMODEL_HAS_DYNAMICALLY_LOADED_SFCNS=0 -I/home/pi/MATLAB_ws/R2023a/E/Onedrive/�ĵ�/MATLAB/Examples/R2023a/raspberrypi/GettingStartedWithSimulinkRaspberryPiHardwareExample -I/home/pi/MATLAB_ws/R2023a/C/ProgramData/MATLAB/SupportPackages/R2023a/toolbox/realtime/targets/raspi/unifiedserver -I/home/pi/MATLAB_ws/R2023a/E/Onedrive/�ĵ�/MATLAB/Examples/R2023a/raspberrypi/GettingStartedWithSimulinkRaspberryPiHardwareExample/raspberrypi_gettingstarted_ert_rtw -I/home/pi/MATLAB_ws/R2023a/E/mathlab/extern/include -I/home/pi/MATLAB_ws/R2023a/E/mathlab/simulink/include -I/home/pi/MATLAB_ws/R2023a/E/mathlab/rtw/c/src -I/home/pi/MATLAB_ws/R2023a/E/mathlab/rtw/c/src/ext_mode/common -I/home/pi/MATLAB_ws/R2023a/E/mathlab/rtw/c/ert -I/home/pi/MATLAB_ws/R2023a/C/ProgramData/MATLAB/SupportPackages/R2023a/toolbox/realtime/targets/raspi/include -I/home/pi/MATLAB_ws/R2023a/E/mathlab/toolbox/coder/rtiostream/src/utils -I/home/pi/MATLAB_ws/R2023a/E/mathlab/toolbox/target/codertarget/rtos/inc -o "devices.c.o" "/home/pi/MATLAB_ws/R2023a/C/ProgramData/MATLAB/SupportPackages/R2023a/toolbox/realtime/targets/raspi/unifiedserver/devices.c"
make: 离开目录“/home/pi/MATLAB_ws/R2023a/E/Onedrive/文档/MATLAB/Examples/R2023a/raspberrypi/GettingStartedWithSimulinkRaspberryPiHardwareExample/raspberrypi_gettingstarted_ert_rtw”
make: 进入目录“/home/pi/MATLAB_ws/R2023a/E/Onedrive/文档/MATLAB/Examples/R2023a/raspberrypi/GettingStartedWithSimulinkRaspberryPiHardwareExample/raspberrypi_gettingstarted_ert_rtw”
gcc -c -MMD -MP -MF"LED.c.dep" -MT"LED.c.o" -O0 -D__MW_TARGET_USE_HARDWARE_RESOURCES_H__ -DMW_CAN_BITRATE=500000 -DMW_CAN_ALLOWALLMSGS=1 -DCLASSIC_INTERFACE=0 -DALLOCATIONFCN=0 -DONESTEPFCN=1 -DTERMFCN=1 -DMULTI_INSTANCE_CODE=0 -DINTEGER_CODE=0 -DMT=0 -DTID01EQ=0 -D__linux__ -DARM_PROJECT -D_USE_TARGET_UDP_ -D_RUNONTARGETHARDWARE_BUILD_ -DSTACK_SIZE=64 -DRT -DMODEL=raspberrypi_gettingstarted -DNUMST=1 -DNCSTATES=0 -DHAVESTDIO -DMODEL_HAS_DYNAMICALLY_LOADED_SFCNS=0 -I/home/pi/MATLAB_ws/R2023a/E/Onedrive/�ĵ�/MATLAB/Examples/R2023a/raspberrypi/GettingStartedWithSimulinkRaspberryPiHardwareExample -I/home/pi/MATLAB_ws/R2023a/C/ProgramData/MATLAB/SupportPackages/R2023a/toolbox/realtime/targets/raspi/unifiedserver -I/home/pi/MATLAB_ws/R2023a/E/Onedrive/�ĵ�/MATLAB/Examples/R2023a/raspberrypi/GettingStartedWithSimulinkRaspberryPiHardwareExample/raspberrypi_gettingstarted_ert_rtw -I/home/pi/MATLAB_ws/R2023a/E/mathlab/extern/include -I/home/pi/MATLAB_ws/R2023a/E/mathlab/simulink/include -I/home/pi/MATLAB_ws/R2023a/E/mathlab/rtw/c/src -I/home/pi/MATLAB_ws/R2023a/E/mathlab/rtw/c/src/ext_mode/common -I/home/pi/MATLAB_ws/R2023a/E/mathlab/rtw/c/ert -I/home/pi/MATLAB_ws/R2023a/C/ProgramData/MATLAB/SupportPackages/R2023a/toolbox/realtime/targets/raspi/include -I/home/pi/MATLAB_ws/R2023a/E/mathlab/toolbox/coder/rtiostream/src/utils -I/home/pi/MATLAB_ws/R2023a/E/mathlab/toolbox/target/codertarget/rtos/inc -o "LED.c.o" "/home/pi/MATLAB_ws/R2023a/C/ProgramData/MATLAB/SupportPackages/R2023a/toolbox/realtime/targets/raspi/unifiedserver/LED.c"
make: 离开目录“/home/pi/MATLAB_ws/R2023a/E/Onedrive/文档/MATLAB/Examples/R2023a/raspberrypi/GettingStartedWithSimulinkRaspberryPiHardwareExample/raspberrypi_gettingstarted_ert_rtw”
Current Thread: 'MCR 0 interpreter thread' id 6872
Register State (captured):
RAX = 00007ff931f2bd58 RBX = 00007ff931ed9bbc
RCX = 000000e3426ea620 RDX = 0000000000000000
RSP = 000000e3426ea500 RBP = 00000000000001f4
RSI = 00007ff931f2bd58 RDI = 00007ff931f2bd58
R8 = 0000000000000003 R9 = 000000e3426ea478
R10 = 0000000000000014 R11 = 000000e3426ea2f8
R12 = 000000e3426eac70 R13 = 00007ff931f1bc88
R14 = 00007ff931f2bd58 R15 = 000000e3426eb2d0
RIP = 00007ff931e2164a EFL = 00000206
CS = 0033 FS = 0053 GS = 002b
Stack Trace (captured):
[ 0] 0x00007ff931e1ac63 E:\mathlab\bin\win64\libmwfl.dll+00044131 foundation::core::diag::thread_context::unspecified_bool+00000051
[ 1] 0x00007ff931e19238 E:\mathlab\bin\win64\libmwfl.dll+00037432 foundation::core::diag::stacktrace_base::capture+00000024
[ 2] 0x00007ff931e1e27c E:\mathlab\bin\win64\libmwfl.dll+00057980 foundation::core::diag::symbols::getSymbolAddress+00013324
[ 3] 0x00007ff931e1c941 E:\mathlab\bin\win64\libmwfl.dll+00051521 foundation::core::diag::symbols::getSymbolAddress+00006865
[ 4] 0x00007ff931e20f5b E:\mathlab\bin\win64\libmwfl.dll+00069467 foundation::core::diag::terminate+00000059
[ 5] 0x00007ff8e02181fc E:\mathlab\bin\win64\libmx.dll+00164348 matrix::serialize::WrongTagSize::operator=+00007820
[ 6] 0x00007ff8e021e1ce E:\mathlab\bin\win64\libmx.dll+00188878 matrix::detail::noninlined::mx_array_api::mxCreateString_UTF8+00000062
[ 7] 0x00007ff81ea13b35 C:\ProgramData\MATLAB\SupportPackages\R2023a\toolbox\target\supportpackages\shared_linuxservices\+matlabshared\+internal\private\ssh2client_mex.mexw64+00015157 mexFunction+00000853
[ 8] 0x00007ff8dddf6ac9 E:\mathlab\bin\win64\libmex.dll+00682697 mexfile::Inspector::needs_upgrade+00023257
[ 9] 0x00007ff8dddf9b42 E:\mathlab\bin\win64\libmex.dll+00695106 MexRetrieveVersion+00009682
[ 10] 0x00007ff8dddf9e67 E:\mathlab\bin\win64\libmex.dll+00695911 MexRetrieveVersion+00010487
[ 11] 0x00007ff8ddddae0e E:\mathlab\bin\win64\libmex.dll+00568846 mexUnlock+00016926
[ 12] 0x00007ff8de42c442 E:\mathlab\bin\win64\m_dispatcher.dll+01229890 Mfh_file::dispatch_file_common+00000178
[ 13] 0x00007ff8de42b712 E:\mathlab\bin\win64\m_dispatcher.dll+01226514 Mfh_error::lookup+00012722
[ 14] 0x00007ff8de42c37d E:\mathlab\bin\win64\m_dispatcher.dll+01229693 Mfh_file::dispatch+00000045
[ 15] 0x00007ff8dda254b2 E:\mathlab\bin\win64\libmwlxemainservices.dll+00480434 mwboost::archive::codecvt_null<wchar_t>::do_max_length+00379250
[ 16] 0x00007ff8d9fce7e1 E:\mathlab\bin\win64\m_lxe.dll+05826529 MathWorks::lxe::ReadOnlyXvaluePtr::operator=+00006193
[ 17] 0x00007ff8d9fd0588 E:\mathlab\bin\win64\m_lxe.dll+05834120 MathWorks::lxe::ReadOnlyXvaluePtr::operator=+00013784
[ 18] 0x00007ff8d9f1b068 E:\mathlab\bin\win64\m_lxe.dll+05091432 MathWorks::lxe::printLxeProfStatsForFeature+00299016
[ 19] 0x00007ff8d9f35459 E:\mathlab\bin\win64\m_lxe.dll+05198937 MathWorks::lxe::printLxeProfStatsForFeature+00406521
[ 20] 0x00007ff8d9e042c7 E:\mathlab\bin\win64\m_lxe.dll+03949255 MathWorks::lxe::GetTag+00006295
[ 21] 0x00007ff8d9deeafa E:\mathlab\bin\win64\m_lxe.dll+03861242 MathWorks::lxe::SetEngineImplUnlinkFlagForAllCallsOnStack+00041402
[ 22] 0x00007ff8d9df30e0 E:\mathlab\bin\win64\m_lxe.dll+03879136 MathWorks::lxe::SetEngineImplUnlinkFlagForAllCallsOnStack+00059296
[ 23] 0x00007ff8ddb0c1e0 E:\mathlab\bin\win64\libmwlxemainservices.dll+01425888 FeatureTestObservableWorkspace+00202192
[ 24] 0x00007ff8dda0d177 E:\mathlab\bin\win64\libmwlxemainservices.dll+00381303 mwboost::archive::codecvt_null<wchar_t>::do_max_length+00280119
[ 25] 0x00007ff8dda0cac5 E:\mathlab\bin\win64\libmwlxemainservices.dll+00379589 mwboost::archive::codecvt_null<wchar_t>::do_max_length+00278405
[ 26] 0x00007ff8dda0f108 E:\mathlab\bin\win64\libmwlxemainservices.dll+00389384 mwboost::archive::codecvt_null<wchar_t>::do_max_length+00288200
[ 27] 0x00007ff8de42c442 E:\mathlab\bin\win64\m_dispatcher.dll+01229890 Mfh_file::dispatch_file_common+00000178
[ 28] 0x00007ff8de42b3f8 E:\mathlab\bin\win64\m_dispatcher.dll+01225720 Mfh_error::lookup+00011928
[ 29] 0x00007ff8de42c4fd E:\mathlab\bin\win64\m_dispatcher.dll+01230077 Mfh_file::dispatch_with_reuse+00000045
[ 30] 0x00007ff8d9ff629e E:\mathlab\bin\win64\m_lxe.dll+05989022 MathWorks::lxe::CreateNestedFunctionHandle+00008318
[ 31] 0x00007ff8dda5a7cd E:\mathlab\bin\win64\libmwlxemainservices.dll+00698317 mwboost::archive::detail::pointer_oserializer<mwboost::archive::xml_oarchive,MathWorks::lxe::PreLineExecutionEvent>::save_object_ptr+00082013
[ 32] 0x00007ff8ddad243f E:\mathlab\bin\win64\libmwlxemainservices.dll+01188927 mwboost::archive::detail::iserializer<mwboost::archive::text_iarchive,MathWorks::MatlabComponents::ComponentIdentifier>::load_object_data+00367823
[ 33] 0x00007ff8de1a4865 E:\mathlab\bin\win64\m_interpreter.dll+00673893 inCallFcn+00000069
[ 34] 0x00007ff8de1b385e E:\mathlab\bin\win64\m_interpreter.dll+00735326 inFullFevalFcn+00000270
[ 35] 0x00007ff8d56696dc E:\mathlab\bin\win64\builtins\m_interpreter\mwm_interpreter_builtinimpl.dll+00038620 us_set_bundle_context_instance_com_mathworks_m_interpreter_builtinimpl+00002956
[ 36] 0x00007ff8df8fb186 E:\mathlab\bin\win64\builtin.dll+00176518 MathWorks::builtin::BuiltinFcn::invoke+00001510
[ 37] 0x00007ff8de35c044 E:\mathlab\bin\win64\m_dispatcher.dll+00376900 mdLoadModuleForPackageOrClass+00008132
[ 38] 0x00007ff8de35c1d5 E:\mathlab\bin\win64\m_dispatcher.dll+00377301 mdLoadModuleForPackageOrClass+00008533
[ 39] 0x00007ff8de30b64e E:\mathlab\bin\win64\m_dispatcher.dll+00046670
[ 40] 0x00007ff8de32d4cd E:\mathlab\bin\win64\m_dispatcher.dll+00185549 Mfh_MATLAB_fn_impl::dispatch+00000045
[ 41] 0x00007ff8dda254b2 E:\mathlab\bin\win64\libmwlxemainservices.dll+00480434 mwboost::archive::codecvt_null<wchar_t>::do_max_length+00379250
[ 42] 0x00007ff8d9fce7e1 E:\mathlab\bin\win64\m_lxe.dll+05826529 MathWorks::lxe::ReadOnlyXvaluePtr::operator=+00006193
[ 43] 0x00007ff8d9fc9849 E:\mathlab\bin\win64\m_lxe.dll+05806153 MathWorks::lxe::LXEConstants::NewIrMacro+00007721
[ 44] 0x00007ff8d9f1b068 E:\mathlab\bin\win64\m_lxe.dll+05091432 MathWorks::lxe::printLxeProfStatsForFeature+00299016
[ 45] 0x00007ff8d9f35599 E:\mathlab\bin\win64\m_lxe.dll+05199257 MathWorks::lxe::printLxeProfStatsForFeature+00406841
[ 46] 0x00007ff8d9d1859b E:\mathlab\bin\win64\m_lxe.dll+02983323 MathWorks::lxe::LXEConstants::IsIfElse+00531387
[ 47] 0x00007ff8d9d1cba6 E:\mathlab\bin\win64\m_lxe.dll+03001254 MathWorks::lxe::LXEConstants::IsY+00012902
[ 48] 0x00007ff8d9d1a041 E:\mathlab\bin\win64\m_lxe.dll+02990145 MathWorks::lxe::LXEConstants::IsY+00001793
[ 49] 0x00007ff8d9d1dca5 E:\mathlab\bin\win64\m_lxe.dll+03005605 MathWorks::lxe::LXEConstants::IsY+00017253
[ 50] 0x00007ff8d9d1df53 E:\mathlab\bin\win64\m_lxe.dll+03006291 MathWorks::lxe::LXEConstants::IsY+00017939
[ 51] 0x00007ff8d9d1d8a8 E:\mathlab\bin\win64\m_lxe.dll+03004584 MathWorks::lxe::LXEConstants::IsY+00016232
[ 52] 0x00007ff8d9d19796 E:\mathlab\bin\win64\m_lxe.dll+02987926 MathWorks::lxe::LxeTypes::GetTypeXvalueOf+00000598
[ 53] 0x00007ff8d9def527 E:\mathlab\bin\win64\m_lxe.dll+03863847 MathWorks::lxe::SetEngineImplUnlinkFlagForAllCallsOnStack+00044007
[ 54] 0x00007ff8d9df30e0 E:\mathlab\bin\win64\m_lxe.dll+03879136 MathWorks::lxe::SetEngineImplUnlinkFlagForAllCallsOnStack+00059296
[ 55] 0x00007ff8ddb0c1e0 E:\mathlab\bin\win64\libmwlxemainservices.dll+01425888 FeatureTestObservableWorkspace+00202192
[ 56] 0x00007ff8dda0d177 E:\mathlab\bin\win64\libmwlxemainservices.dll+00381303 mwboost::archive::codecvt_null<wchar_t>::do_max_length+00280119
[ 57] 0x00007ff8dda0cac5 E:\mathlab\bin\win64\libmwlxemainservices.dll+00379589 mwboost::archive::codecvt_null<wchar_t>::do_max_length+00278405
[ 58] 0x00007ff8dda0f108 E:\mathlab\bin\win64\libmwlxemainservices.dll+00389384 mwboost::archive::codecvt_null<wchar_t>::do_max_length+00288200
[ 59] 0x00007ff8de42c442 E:\mathlab\bin\win64\m_dispatcher.dll+01229890 Mfh_file::dispatch_file_common+00000178
[ 60] 0x00007ff8de42b3f8 E:\mathlab\bin\win64\m_dispatcher.dll+01225720 Mfh_error::lookup+00011928
[ 61] 0x00007ff8de42c4fd E:\mathlab\bin\win64\m_dispatcher.dll+01230077 Mfh_file::dispatch_with_reuse+00000045
[ 62] 0x00007ff8d9ff629e E:\mathlab\bin\win64\m_lxe.dll+05989022 MathWorks::lxe::CreateNestedFunctionHandle+00008318
[ 63] 0x00007ff8dda5a7cd E:\mathlab\bin\win64\libmwlxemainservices.dll+00698317 mwboost::archive::detail::pointer_oserializer<mwboost::archive::xml_oarchive,MathWorks::lxe::PreLineExecutionEvent>::save_object_ptr+00082013
[ 64] 0x00007ff8ddad243f E:\mathlab\bin\win64\libmwlxemainservices.dll+01188927 mwboost::archive::detail::iserializer<mwboost::archive::text_iarchive,MathWorks::MatlabComponents::ComponentIdentifier>::load_object_data+00367823
[ 65] 0x00007ff8de1a4865 E:\mathlab\bin\win64\m_interpreter.dll+00673893 inCallFcn+00000069
[ 66] 0x00007ff8de1b385e E:\mathlab\bin\win64\m_interpreter.dll+00735326 inFullFevalFcn+00000270
[ 67] 0x00007ff8d56696dc E:\mathlab\bin\win64\builtins\m_interpreter\mwm_interpreter_builtinimpl.dll+00038620 us_set_bundle_context_instance_com_mathworks_m_interpreter_builtinimpl+00002956
[ 68] 0x00007ff8df8fb186 E:\mathlab\bin\win64\builtin.dll+00176518 MathWorks::builtin::BuiltinFcn::invoke+00001510
[ 69] 0x00007ff8de35c044 E:\mathlab\bin\win64\m_dispatcher.dll+00376900 mdLoadModuleForPackageOrClass+00008132
[ 70] 0x00007ff8de35c1d5 E:\mathlab\bin\win64\m_dispatcher.dll+00377301 mdLoadModuleForPackageOrClass+00008533
[ 71] 0x00007ff8de30b64e E:\mathlab\bin\win64\m_dispatcher.dll+00046670
[ 72] 0x00007ff8de32d4cd E:\mathlab\bin\win64\m_dispatcher.dll+00185549 Mfh_MATLAB_fn_impl::dispatch+00000045
[ 73] 0x00007ff8dda254b2 E:\mathlab\bin\win64\libmwlxemainservices.dll+00480434 mwboost::archive::codecvt_null<wchar_t>::do_max_length+00379250
[ 74] 0x00007ff8d9fce7e1 E:\mathlab\bin\win64\m_lxe.dll+05826529 MathWorks::lxe::ReadOnlyXvaluePtr::operator=+00006193
[ 75] 0x00007ff8d9fc9884 E:\mathlab\bin\win64\m_lxe.dll+05806212 MathWorks::lxe::LXEConstants::NewIrMacro+00007780
[ 76] 0x00007ff8d9f1b068 E:\mathlab\bin\win64\m_lxe.dll+05091432 MathWorks::lxe::printLxeProfStatsForFeature+00299016
[ 77] 0x00007ff8d9f35599 E:\mathlab\bin\win64\m_lxe.dll+05199257 MathWorks::lxe::printLxeProfStatsForFeature+00406841
[ 78] 0x00007ff8d9e042c7 E:\mathlab\bin\win64\m_lxe.dll+03949255 MathWorks::lxe::GetTag+00006295
[ 79] 0x00007ff8d9deeafa E:\mathlab\bin\win64\m_lxe.dll+03861242 MathWorks::lxe::SetEngineImplUnlinkFlagForAllCallsOnStack+00041402
[ 80] 0x00007ff8d9df30e0 E:\mathlab\bin\win64\m_lxe.dll+03879136 MathWorks::lxe::SetEngineImplUnlinkFlagForAllCallsOnStack+00059296
[ 81] 0x00007ff8ddb0c1e0 E:\mathlab\bin\win64\libmwlxemainservices.dll+01425888 FeatureTestObservableWorkspace+00202192
[ 82] 0x00007ff8dda0ce4b E:\mathlab\bin\win64\libmwlxemainservices.dll+00380491 mwboost::archive::codecvt_null<wchar_t>::do_max_length+00279307
[ 83] 0x00007ff8dda0d1f5 E:\mathlab\bin\win64\libmwlxemainservices.dll+00381429 mwboost::archive::codecvt_null<wchar_t>::do_max_length+00280245
[ 84] 0x00007ff8dda0cac5 E:\mathlab\bin\win64\libmwlxemainservices.dll+00379589 mwboost::archive::codecvt_null<wchar_t>::do_max_length+00278405
[ 85] 0x00007ff8dda0f108 E:\mathlab\bin\win64\libmwlxemainservices.dll+00389384 mwboost::archive::codecvt_null<wchar_t>::do_max_length+00288200
[ 86] 0x00007ff8de42c442 E:\mathlab\bin\win64\m_dispatcher.dll+01229890 Mfh_file::dispatch_file_common+00000178
[ 87] 0x00007ff8de42b3f8 E:\mathlab\bin\win64\m_dispatcher.dll+01225720 Mfh_error::lookup+00011928
[ 88] 0x00007ff8de42c4fd E:\mathlab\bin\win64\m_dispatcher.dll+01230077 Mfh_file::dispatch_with_reuse+00000045
[ 89] 0x00007ff8d9ffc070 E:\mathlab\bin\win64\m_lxe.dll+06013040 MathWorks::lxe::CreateUnboundFunctionHandle+00011024
[ 90] 0x00007ff8dda5a7cd E:\mathlab\bin\win64\libmwlxemainservices.dll+00698317 mwboost::archive::detail::pointer_oserializer<mwboost::archive::xml_oarchive,MathWorks::lxe::PreLineExecutionEvent>::save_object_ptr+00082013
[ 91] 0x00007ff8ddad243f E:\mathlab\bin\win64\libmwlxemainservices.dll+01188927 mwboost::archive::detail::iserializer<mwboost::archive::text_iarchive,MathWorks::MatlabComponents::ComponentIdentifier>::load_object_data+00367823
[ 92] 0x00007ff8de1a4865 E:\mathlab\bin\win64\m_interpreter.dll+00673893 inCallFcn+00000069
[ 93] 0x00007ff8b91780b8 E:\mathlab\bin\win64\libmwsl_services.dll+02588856 slsvFEVAL+00001272
[ 94] 0x00007ff8d7f993ba E:\mathlab\bin\win64\sl_proxy_interface.dll+00037818 wrapper_matl_sl+00000074
[ 95] 0x00007ff87cc52faf E:\mathlab\bin\win64\builtins\sl_proxy_interface\mwsl_proxy_interface_builtinimpl.dll+00077743 us_set_bundle_context_instance_com_mathworks_sl_proxy_interface_builtinimpl+00042079
[ 96] 0x00007ff87cc48ba2 E:\mathlab\bin\win64\builtins\sl_proxy_interface\mwsl_proxy_interface_builtinimpl.dll+00035746 us_set_bundle_context_instance_com_mathworks_sl_proxy_interface_builtinimpl+00000082
[ 97] 0x00007ff8df8fb186 E:\mathlab\bin\win64\builtin.dll+00176518 MathWorks::builtin::BuiltinFcn::invoke+00001510
[ 98] 0x00007ff8de35c044 E:\mathlab\bin\win64\m_dispatcher.dll+00376900 mdLoadModuleForPackageOrClass+00008132
[ 99] 0x00007ff8de35c1d5 E:\mathlab\bin\win64\m_dispatcher.dll+00377301 mdLoadModuleForPackageOrClass+00008533
[100] 0x00007ff8de30b64e E:\mathlab\bin\win64\m_dispatcher.dll+00046670
[101] 0x00007ff8de32d4cd E:\mathlab\bin\win64\m_dispatcher.dll+00185549 Mfh_MATLAB_fn_impl::dispatch+00000045
[102] 0x00007ff8dda254b2 E:\mathlab\bin\win64\libmwlxemainservices.dll+00480434 mwboost::archive::codecvt_null<wchar_t>::do_max_length+00379250
[103] 0x00007ff8d9fce7e1 E:\mathlab\bin\win64\m_lxe.dll+05826529 MathWorks::lxe::ReadOnlyXvaluePtr::operator=+00006193
[104] 0x00007ff8d9fcfda9 E:\mathlab\bin\win64\m_lxe.dll+05832105 MathWorks::lxe::ReadOnlyXvaluePtr::operator=+00011769
[105] 0x00007ff8d9f1b068 E:\mathlab\bin\win64\m_lxe.dll+05091432 MathWorks::lxe::printLxeProfStatsForFeature+00299016
[106] 0x00007ff8d9f35049 E:\mathlab\bin\win64\m_lxe.dll+05197897 MathWorks::lxe::printLxeProfStatsForFeature+00405481
[107] 0x00007ff8d9d1859b E:\mathlab\bin\win64\m_lxe.dll+02983323 MathWorks::lxe::LXEConstants::IsIfElse+00531387
[108] 0x00007ff8d9d1cba6 E:\mathlab\bin\win64\m_lxe.dll+03001254 MathWorks::lxe::LXEConstants::IsY+00012902
[109] 0x00007ff8d9d1a041 E:\mathlab\bin\win64\m_lxe.dll+02990145 MathWorks::lxe::LXEConstants::IsY+00001793
[110] 0x00007ff8d9d1dca5 E:\mathlab\bin\win64\m_lxe.dll+03005605 MathWorks::lxe::LXEConstants::IsY+00017253
[111] 0x00007ff8d9d1df53 E:\mathlab\bin\win64\m_lxe.dll+03006291 MathWorks::lxe::LXEConstants::IsY+00017939
[112] 0x00007ff8d9d1d8a8 E:\mathlab\bin\win64\m_lxe.dll+03004584 MathWorks::lxe::LXEConstants::IsY+00016232
[113] 0x00007ff8d9d19796 E:\mathlab\bin\win64\m_lxe.dll+02987926 MathWorks::lxe::LxeTypes::GetTypeXvalueOf+00000598
[114] 0x00007ff8d9def527 E:\mathlab\bin\win64\m_lxe.dll+03863847 MathWorks::lxe::SetEngineImplUnlinkFlagForAllCallsOnStack+00044007
[115] 0x00007ff8d9df30e0 E:\mathlab\bin\win64\m_lxe.dll+03879136 MathWorks::lxe::SetEngineImplUnlinkFlagForAllCallsOnStack+00059296
[116] 0x00007ff8ddb0c1e0 E:\mathlab\bin\win64\libmwlxemainservices.dll+01425888 FeatureTestObservableWorkspace+00202192
[117] 0x00007ff8dda0d177 E:\mathlab\bin\win64\libmwlxemainservices.dll+00381303 mwboost::archive::codecvt_null<wchar_t>::do_max_length+00280119
[118] 0x00007ff8dda0cac5 E:\mathlab\bin\win64\libmwlxemainservices.dll+00379589 mwboost::archive::codecvt_null<wchar_t>::do_max_length+00278405
[119] 0x00007ff8dda0f108 E:\mathlab\bin\win64\libmwlxemainservices.dll+00389384 mwboost::archive::codecvt_null<wchar_t>::do_max_length+00288200
[120] 0x00007ff8de42c442 E:\mathlab\bin\win64\m_dispatcher.dll+01229890 Mfh_file::dispatch_file_common+00000178
[121] 0x00007ff8de42b3f8 E:\mathlab\bin\win64\m_dispatcher.dll+01225720 Mfh_error::lookup+00011928
[122] 0x00007ff8de42c4fd E:\mathlab\bin\win64\m_dispatcher.dll+01230077 Mfh_file::dispatch_with_reuse+00000045
[123] 0x00007ff8d9ffc070 E:\mathlab\bin\win64\m_lxe.dll+06013040 MathWorks::lxe::CreateUnboundFunctionHandle+00011024
[124] 0x00007ff8dda5a7cd E:\mathlab\bin\win64\libmwlxemainservices.dll+00698317 mwboost::archive::detail::pointer_oserializer<mwboost::archive::xml_oarchive,MathWorks::lxe::PreLineExecutionEvent>::save_object_ptr+00082013
[125] 0x00007ff8ddad243f E:\mathlab\bin\win64\libmwlxemainservices.dll+01188927 mwboost::archive::detail::iserializer<mwboost::archive::text_iarchive,MathWorks::MatlabComponents::ComponentIdentifier>::load_object_data+00367823
[126] 0x00007ff8de1a4865 E:\mathlab\bin\win64\m_interpreter.dll+00673893 inCallFcn+00000069
[127] 0x00007ff8de1b385e E:\mathlab\bin\win64\m_interpreter.dll+00735326 inFullFevalFcn+00000270
Program State:
Most Recent Simulink Activity:
buildDeployStartHardwareBoardAction2 : OK in editor 1 at Thu Mar 28 16:51:53 2024
openModelConfigParamHardwareBoardAction : OK in editor 1 at Thu Mar 28 16:51:37 2024
This error was detected while a MEX-file was running. If the MEX-file
is not an official MathWorks function, please examine its source code
for errors. Please consult the External Interfaces Guide for information
on debugging MEX-files.
how can i fix it

Answers (1)

Nicholas Zhou
Nicholas Zhou on 29 Mar 2024
建议您不要在文件目录上使用汉字,改用字母或数字等ASCII码字符。
代码生成时如果遇到文件路径(包括文件夹和文件名)中有多字节语言,可能会导致MATLAB出错甚至崩溃。

Categories

Find more on 启动和关闭 in Help Center and File Exchange

Products


Release

R2023b

Community Treasure Hunt

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

Start Hunting!