Simulink: Editing the chosen scenario in the signal editor from workspace

3 views (last 30 days)
Hi guys,
i'm wodering myself if there's an elegant way to choose a scenario in the signal editor from workspace.
The only way it worked out for me is to create a variant subsystem with subsystems for each scenario and select the variant from workspace. That does not seam to be the most elegant way though. I could not find anything regarding this request in the documentation. Does anyone know how to do this?
Greetings
Erik

Answers (1)

Amith
Amith on 15 Jul 2024
Hi Erik,
Based on the MathWorks documentation, here are the outlined steps for selecting a scenario in the Signal Editor from the workspace in MATLAB:
Utilize the Scenario menu within the Signal Editor to make your selection. The following step-by-step instructions will guide you through the process:
1. Create or Import a Scenario:
  • To create a scenario from the root inports of a model, select Scenario > Scenario from Model. This is available only when accessing Signal Editor from the Root Inport Mapper.
  • To create an empty scenario and add signals from scratch, select Scenario > New Scenario.
  • To import scenarios from the MATLAB workspace, select Scenario > From Workspace.
2. Insert Signals into the Scenario:
  • After creating or importing your scenario, you can begin inserting signals using options in the Insert section.
3. Edit and Organize Your Signals:
  • You can change the signal order in the hierarchy or change the name of a signal as needed.
Hope this helps!

Categories

Find more on Simulink Functions in Help Center and File Exchange

Products


Release

R2024a

Community Treasure Hunt

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

Start Hunting!