Error evaluating properties of Simulink.Signal in data dictionary. - Realease 2018a
21 次查看(过去 30 天)
显示 更早的评论
Hi, I've a code wrote and working in Matlab R2017a, when transfering to R2018a I'm recieving the error:
"Error evaluating properties of Simulink.Signal object 'OBJECT_NAME' in data dictionary 'DATA_DICT_NAME' (used by 'place where used').
Caused by:
- DataType 'Bus: 'DATA_TYPE_NAME' did not resolve to a valid bus object'"
What I could see is that my 'DATA_TYPE_NAME' is in one DD, my 'OBJECT_NAME' is in another and both of them are referenced in 'DATA_DICT_NAME'. This is not possible anymore in 2018a release? Has anyone else seen this?
Attached a few images to represent my error.
回答(1 个)
Song-Hyun Ji
2024-2-8
This was an intentional change in R2018a. Prior to R2018a we allowed objects to refer to objects in any dictionary referenced from the model. In R2018a we closed this loophole to enforce that objects should only be able to reference objects that are visible from the dictionary where they are defined.
0 个评论
另请参阅
类别
在 Help Center 和 File Exchange 中查找有关 Manage Design Data 的更多信息
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!