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

8 visualizaciones (últimos 30 días)
Erik
Erik el 15 de Jul. de 2024
Respondida: Mathy el 15 de Jul. de 2024
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

Respuestas (1)

Mathy
Mathy el 15 de Jul. de 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!

Categorías

Más información sobre Simulink Functions en Help Center y File Exchange.

Productos


Versión

R2024a

Community Treasure Hunt

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

Start Hunting!

Translated by