Clear Filters
Clear Filters

My MATLAB reports error messages at startup, as shown in the text below. Could you please help me?

9 views (last 30 days)
Error messages:
Caught "std::exception" Exception message is:
Loading C:\Program Files\MATLAB\R2021b\bin\win64\matlab_startup_plugins\referenceapi\reference_startup_plugin.dllfailed with error: Le module spécifié est introuvable.
: not connected: not connected
Caught "std::exception" Exception message is:
Loading C:\Program Files\MATLAB\R2021b\bin\win64\builtins\tabcompletion_message_service\mwtcms_doc_interface_builtinimpl.dllfailed with error: Le module spécifié est introuvable.
: not connected: not connected
>>

Answers (1)

Anurag Ojha
Anurag Ojha on 12 May 2023
Hi Goumbri,
It seems that MATLAB is encountering issues loading two different plugins during its startup process. The error messages indicate that it is having trouble finding the specified module or DLL file.
One possible solution is to try reinstalling MATLAB and see if that resolves the issue. Alternatively, you can try locating the missing DLL files and placing them in the appropriate directories manually.
For the reference_startup_plugin.dll’ file, try checking that it exists in the C:\ProgramFiles\MATLAB\R2021b\bin\win64\matlab_startup_plugins\referenceapi\
folder. Similarly, for the `mwtcms_doc_interface_builtinimpl.dll` file, check that it exists in the
C:\ProgramFiles\MATLAB\R2021b\bin\win64\builtins\tabcompletion_message_service\ folder.
If the DLL files are missing, you may need to obtain DLL files from online trusted source or reinstall MATLAB. If the files are present, you can try adding the above folders to your system's PATH environment variable to see if MATLAB can successfully load the DLL files during startup.
Hope it helps!

Categories

Find more on Startup and Shutdown in Help Center and File Exchange

Products

Community Treasure Hunt

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

Start Hunting!