How to use access enumerated type?

6 views (last 30 days)
Eonyong
Eonyong on 14 Sep 2023
Answered: Angelo Yeo on 15 Sep 2023
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

Answers (1)

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

Categories

Find more on Simulink Functions in Help Center and File Exchange

Products


Release

R2022a

Community Treasure Hunt

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

Start Hunting!