How to use access enumerated type?

1 次查看(过去 30 天)
In Simuilnk, I debbuging slx model.
but, Debug found Error in Block parameter.
error detail is,
Data dictionary 'General.sldd' (used in block '<BlockName>').Error evaluating properties of Signal object '<BlockName>'
Cause:
Block parameter used by <BlockName> unable to access enumerated type 'enumOption' defined in dictionary enum.sldd.
Error evaluating DataType 'Enum: enumOption'
components:Simulink | category:Model error

采纳的回答

Angelo Yeo
Angelo Yeo 2023-9-15
안녕하세요. 모델에서 Simulink Data Dictionary를 어떤 방식으로 사용하고 계신지 정확히 알 필요가 있습니다. 이를 위해서는 재현 가능한 모델을 공유해주시면 문제 해결에 도움이 됩니다.
다만, 에러 메시지만으로 유추하기로는 현재 여러 계층의 모델을 reference 방식으로 사용하고 계신 것으로 보이며, 서로 다른 계층의 모델에 연결된 data dictionary에 접근할 수 없는 이슈는 아닐까 하고 생각됩니다. 이를 위해서는 referenced dictionary 기능을 사용하셔서 서로 다른 계층의 모델에 사용되는 data dictionary에 접근할 수 있게 설정하는 것이 필요합니다.
이에 관한 더 자세한 설명은 아래 문서를 확인하여 주십시오.

更多回答(0 个)

类别

Help CenterFile Exchange 中查找有关 Simulink Functions 的更多信息

产品


版本

R2022a

Community Treasure Hunt

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

Start Hunting!

Translated by