How can i add marker to a scope?

3 views (last 30 days)
Ayse
Ayse on 3 Feb 2015
Answered: Sharad on 19 Jun 2023
I want to mark special points on scope. As an example i add a picture. How can i do this?

Answers (2)

Juan
Juan on 19 Jun 2023
To mark special points on a scope or any other image, you can use image editing software or graphical tools. Here's a general approach you can follow using common software like Adobe Photoshop or Microsoft Paint:
  1. Start by opening the image you want to mark in your chosen image editing software.
  2. Look for a tool that allows you to draw or create shapes. In Photoshop, you can use the Brush tool or the Shape tools (such as the Ellipse or Rectangle tool). In Paint, you can use the Pencil or Brush tool.
  3. Select a color for your markers that stands out from the image. You can typically choose the color from a color palette or by entering specific color codes.
  4. Use the selected tool to mark the special points on the scope. You can draw circles, squares, or any other shape that helps highlight the points of interest. You can check here. If your software supports layers, consider creating a new layer to draw the markers on, so you can easily edit or remove them later if needed.
  5. Depending on your software, you may have options to adjust the size, opacity, or thickness of the markers. Experiment with these settings to make the markers more visible or to fit your preferences.
  6. Once you are satisfied with the marked points, save the edited image with a new file name to preserve the original.
Remember, the specific steps may vary slightly depending on the software you are using, but the general concept of selecting a marking tool, choosing a color, and drawing the markers remains the same.

Sharad
Sharad on 19 Jun 2023
Hi @Ayse,
As far as I am aware about the scope block in Simulink, it does not provide a built in feature to add special marker for specific points only. However, if you are interested in identifying and analyzing specific points in a signal, you can definitely use other blocks and techniques in Simulink, and do the further analysis in MATLAB.
Here are some of the steps that you may want to follow to do the same.
  • Add a 'To Workspace' block to your Simulink model from the Simulink Library Browser.
  • Connect the signal to the 'To Workspace' block.
  • Open the block parameters dialog box and set 'Save format' option as 'Array', as well as provide a variable name to it.
  • Save and run your model.
  • Now, the signal data will get saved as an array in your MATLAB workspace. You can load the variable using the variable name specified.
  • Now, you can plot, analyze and customize the signal data using specific markers in MATLAB.

Community Treasure Hunt

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

Start Hunting!