Naming logged signals in a Referenced Model
조회 수: 2 (최근 30일)
이전 댓글 표시
I am using Model Referencing to place multiple actuators into a top level Simulink system. Inside the referenced Model block, I use signal logging to get data about the actuator. That signal is named ema_actuator. When I run the top level model with 2 actuators, logsout shows 2 logged signals, both named ema_actuator.
Is there a way to change the name of a signal inside a model reference block so that I can easily differentiate which actuator the signal came from? Or is there a way to name the signal in the model reference block based on a variable (such as an identifier for that specific model block)?
댓글 수: 0
답변 (1개)
Vineeth Kartha
2016년 3월 16일
Hi,
Please find the attached sample models, In the 'mod1.slx' I have a signal named name1 and in 'topMod.slx' I have a signal named 'name2'. After simulation 'logsout' has both 'name1' and 'name2'. Please verify your model with the provided models and see what you might have configured differently.
Regards Vineeth
댓글 수: 0
참고 항목
카테고리
Help Center 및 File Exchange에서 Model References에 대해 자세히 알아보기
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!