- 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.
- Clear Simulink dictionary cache by running the following command in MATLAB. Then restart MATLAB to ensure caches are cleared.
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.
0 个评论
回答(1 个)
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:
>> 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
另请参阅
类别
在 Help Center 和 File Exchange 中查找有关 Interactive Model Editing 的更多信息
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!