Guy on Simulink

Simulink & Model-Based Design

Legends for Simulink Scopes

Today my colleague Roshin Kadanna Pally is back to talk about additions he made to the Simulink Scope in R2012a.

Legends for Simulink Scopes

When opening the Scope parameters dialog in R2012a, you will notice a new option:

Simulink Scope parameters

When simulating the model, the legend will appear and you will be able to choose its position:

Setting the position of the Scope legend

The selected position will be saved with model.

The information displayed in the legend can come from multiple sources in the model:

  • Signal name
  • Block name if signal is not named
  • Name of elements for composite signals
  • Port number if source block has multiple ports
  • Signal index for vectors

I tried to illustrate all those in the following example:

Scope Naming Convention

Now it's your turn

Are you happy the legends are now available in the Simulink Scope? Leave a comment here.

|
  • print

댓글

댓글을 남기려면 링크 를 클릭하여 MathWorks 계정에 로그인하거나 계정을 새로 만드십시오.