Error evaluating properties of Simulink.Signal in data dictionary. - Realease 2018a

21 views (last 30 days)
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.

Answers (1)

Song-Hyun Ji
Song-Hyun Ji on 8 Feb 2024
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.

Categories

Find more on Manage Design Data in Help Center and File Exchange

Products


Release

R2018a

Community Treasure Hunt

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

Start Hunting!