DMR client's dictionary function threw std::exception:: 'boost::ba​d_any_cast​:failed conversion using boost::any_cast''

51 ビュー (過去 30 日間)
Hi, i got this error when running a simulation on Simulink. the first run of the simulation works fine but when i stop it and want to do a second run, the error appears. i tried removing all the *.DMR files from the temp directory but didnt work. any ideas how to solve this issue thanks

採用された回答

Michelle Wu
Michelle Wu 2017 年 8 月 28 日
This may be due to a bug with the Simulation Data Inspector (SDI) that impacts releases from R2014b and R2016b. If you are indeed using releases that fall in this range, please upgrade to R2017a as the issue should have been fixed in the current release.
If the issue persists after the upgrade, or you are unable to upgrade for some reasons, please contact the MathWorks Technical Support Team in your country/region:
  2 件のコメント
omar chakroun
omar chakroun 2017 年 8 月 29 日
Thanks a lot. the issue is with SDI as you pointed out with Matlab 2016b. i was using SDi during the model development and was kept on. i was able to deactivate all signals going to SDI by using these two command lines. load_system('name of the model') set_param('name of the model', 'InstrumentedSignals', [])
thank you again.
Nizar Benayad
Nizar Benayad 2023 年 8 月 16 日
I face the same problem and it's driving me crazy, can you explain more please about the command instructor

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

その他の回答 (0 件)

カテゴリ

Help Center および File ExchangeInstall Products についてさらに検索

Community Treasure Hunt

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

Start Hunting!

Translated by