How to name a physical signal in simscape

조회 수: 3 (최근 30일)
JD Heinzmann
JD Heinzmann 2018년 12월 16일
댓글: JD Heinzmann 2019년 1월 2일
Back in R2015a, I could name physical signals in SimScape. I could then access their logged data after running the simulation from simlog. Now, in R2018b, this feature seems to have dissappeared. I used to be able to simply double-click the signal line in the diagram and type in a name. What happened to this feature? Is there no way to name physical signals anymore?
  댓글 수: 2
Mark Sherstan
Mark Sherstan 2018년 12월 16일
I am running R2018b and dont have that issue. Sometimes I do find I have to triple click or hover my mouse over the signal first and then double click. Are any of your old files still showing the labels? Can you edit one of those? Documentation also supports feature is still working so maybe you have a glitch?
JD Heinzmann
JD Heinzmann 2019년 1월 2일
편집: JD Heinzmann 2019년 1월 2일
My old .slx files do not display the signal names I gave them in R2015a. If I hover the mouse over the signal first then double- or gazillion-click it, no joy.
Indeed, the doccumentation does say "Name a signal line: Double-click signal and type name". Looks to me from Askay's answer on 28 Dec 2018 that this is a bug that The Mathworks is working on.
Thank you, Mark, for your helpful answer.

댓글을 달려면 로그인하십시오.

채택된 답변

Akshay Khadse
Akshay Khadse 2018년 12월 28일
편집: Akshay Khadse 2018년 12월 28일
This is currently not supported. Our teams are already aware of this.
  댓글 수: 1
JD Heinzmann
JD Heinzmann 2019년 1월 2일
The loss of this feature breaks the functioning of some of my older SimScape diagrams. It is nice to be able to name a signal and then access data from the signal in simlog after the simulation has been run. But I do see the complication this can have if, for example, I name a node in an electrical circuit. Sure, I can inspect the voltage of that node, but if there are branches on that node, the current depends on which branch of the node I want to examine. So a single signal node name is not enough.
I will revert to including "zero" ohm resistors and the like for this purpose. I prefer that over adding current sensors as they clutter the diagram less.
Thank you for letting me know that this feature is indeed no longer supported.

댓글을 달려면 로그인하십시오.

추가 답변 (0개)

카테고리

Help CenterFile Exchange에서 Data Logging에 대해 자세히 알아보기

제품


릴리스

R2018b

Community Treasure Hunt

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

Start Hunting!

Translated by