Simulink Scope Layout and Signal Selection

조회 수: 218 (최근 30일)
Mark Underwood
Mark Underwood 2016년 10월 27일
답변: Tanishq Kale 2022년 10월 29일
Hi, I can't define which of my input signals fall into which part of the layout in the Simulink Scope.
I have 3 signals. I setup the scope layout to 1 column, 2 rows (2 views, top and bottom). I can't then find a way to put signals 1 & 2 on the top scope and signal 3 on the bottom..
Edit: I see that under [settings > Main > Number of Input ports] there's a button that says 'Layout'. This button is not greyed out but has no action (literally nothing happens)
I'm using R2015b (Simulink 8.6)
Any Ideas? Mark

채택된 답변

Swarooph
Swarooph 2016년 10월 27일
Here is the default behavior of the layout button explained in the documentation. To quote it, "If the number of displays are less than the number of ports, signals from additional ports appear on the last display."
In the newer scopes there does not seem to be way (in my understanding) to assign signals to particular axes. The way you can get around this is to use a mux block and feed in signals appropriately to make sure you get the layout and signals assigned reliably. Example snapshot of implementation and display below:
  댓글 수: 4
Bijou Mwaura
Bijou Mwaura 2021년 4월 16일
I am having the same issue, when I press the layout button the window does not open.
DIPIKA
DIPIKA 2022년 7월 6일
Same problem in matlab online also, layout window does not open in scope

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

추가 답변 (5개)

GVPCEW MATH
GVPCEW MATH 2021년 7월 7일
Select Scope property in your modle, follow to Modelling Tab, from design select property inspector , change the layout option
It work fine
  댓글 수: 2
Mohamed Ahsan
Mohamed Ahsan 2021년 10월 3일
yah it is perfactly working
Swanand Totalwar
Swanand Totalwar 2021년 12월 28일
But still the appearance is not like layout appearance.

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


Carlos Suárez
Carlos Suárez 2021년 5월 17일
i have the same problem

JOHN PAUL ROCKWOOD
JOHN PAUL ROCKWOOD 2022년 3월 17일
The same problem in the online version. Seems to be a bug

Tanishq Kale
Tanishq Kale 2022년 10월 29일
Same problem with Matlab R2022b Online

Michael LoConti
Michael LoConti 2022년 2월 14일
I have the same problem

카테고리

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

태그

제품

Community Treasure Hunt

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

Start Hunting!

Translated by