Error:Unable to find data dictionary 'my_dict.sldd'.

40 次查看(过去 30 天)
Hi,
my Matlab keeps complaining about a missing dictionary even though I stepped back to a state where this dictionary did not even exist.
I already cleanded up the temp folder and removed the newer model version completely and checked out an old version fresh onto disk but when trying to run the model Matlab keeps complaining about this allegedly missing dictionary.
Error:Unable to find data dictionary 'my_dict.sldd'.
Not happening on a colleagues Matlab (as to be expected because there is no such thing on the old versions). What is going on here and how can I find out from where this dictionary is being referenced in my Matlab?
Thanks for your support.

回答(1 个)

Ronit
Ronit 2025-7-25
Hello,
The error you are encountering is often because of your model or environment still has some reference to that file, even if you think you have removed it. This can be due to internal caches or metadata that have not been fully reset.
Following are a few troubleshooting steps to counter this issue:
  1. Open your model and review its properties (File > Model Properties > External Data or via Model Explorer) to see if there’s still a reference to "my_dict.sldd". Remove it if found.
  2. Clear Simulink dictionary cache by running the following command in MATLAB. Then restart MATLAB to ensure caches are cleared.
>> Simulink.data.dictionary.closeAll
If you are still encountering the issue, I would suggest you reach out to MathWorks Technical Support: https://www.mathworks.com/support/contact_us.html
  1 个评论
Marcus
Marcus 2025-7-29
编辑:Marcus 2025-7-29
As I have writte the issue occurs even after a matlab restart, but thanks anyway for your proposal, but it is only of any help within a session.
Deleting my Matlab Profile and create a new one has solved the issue with some obstacles, the reason for still unknown though.

请先登录,再进行评论。

类别

Help CenterFile Exchange 中查找有关 Interactive Model Editing 的更多信息

标签

产品


版本

R2024b

Community Treasure Hunt

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

Start Hunting!

Translated by