Simulink Scope Layout and Signal Selection

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 日

10 投票

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 件のコメント

Mark Underwood
Mark Underwood 2016 年 10 月 31 日
Excellent, thank you.
Hopefully this becomes more obvious in later versions.
Ceyhun Mamizada
Ceyhun Mamizada 2021 年 4 月 10 日
I press the layout button but the window does not open. What can I do?
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 日

6 投票

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 日

2 投票

i have the same problem
JOHN PAUL ROCKWOOD
JOHN PAUL ROCKWOOD 2022 年 3 月 17 日

2 投票

The same problem in the online version. Seems to be a bug
Tanishq Kale
Tanishq Kale 2022 年 10 月 29 日

1 投票

Same problem with Matlab R2022b Online
Michael LoConti
Michael LoConti 2022 年 2 月 14 日

0 投票

I have the same problem

製品

タグ

質問済み:

2016 年 10 月 27 日

回答済み:

2022 年 10 月 29 日

Community Treasure Hunt

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

Start Hunting!

Translated by