Caught "std::exception" Exception message

Caught "std::exception" Exception message is:
Bundle#308 start failed: Loading D:\MATLAB\bin\win64\builtins\simulink_sid\mwsid_builtinimpl.dllfailed with error: The specified module could not be found.
Dot indexing is not supported for variables of this type.
Error in rmiml.selectionLink
Dot indexing is not supported for variables of this type.
Error in rmiml.selectionLink

4 Comments

This paragraph of error message pops out once I open the MATLAB every time.
The version of MATLAB is 2019a prerelease
I also have the same error message. In my case, it is showing Bundle#312. And it appears every time I start MATLAB. The problem starts just after installing the latest update of R2019a: Update 7.
Someone please help.

Sign in to comment.

Answers (2)

This issue can occur due uninstalling using an incorrect procedure when removing a previous MATLAB release. When uninstalling MATLAB from your machine, it is recommended that all the MATLAB folders including the ones in Temp and Local directories are deleted. We recommend that you always uninstall MATLAB by following the procedure as given in the following link:
I think this issue could be resolved if you delete the following folder:
C:\Users\UserName\AppData\Roaming\MathWorks

5 Comments

Dude, that path contains my license. I don't think deleting it will be a good idea
You can reinstall the license afterwards.
Deleting the Roaming folder did the trick for me! Many thanks!
It really works!!!

Sign in to comment.

ahmad
ahmad on 31 Oct 2025
>> a=10
a =
10
Caught "std::exception" Exception message is:
Unexpected mxArray type returned from feval. Expected class std::basic_string<char,struct std::char_traits<char>,class std::allocator<char> > but found string.

Products

Release

R2018b

Asked:

on 17 Mar 2019

Edited:

on 31 Oct 2025

Community Treasure Hunt

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

Start Hunting!