Filter löschen
Filter löschen

Exporting Data to Workspace

2 Ansichten (letzte 30 Tage)
Micah Mungal
Micah Mungal am 16 Feb. 2016
Beantwortet: Grégory SEABRA am 15 Nov. 2016
Hi,
I am have created a model of a Power system in Simulink and a GUI using GUIDE. The GUI is being used to initialize certain parameters in the Simulink model. Now as part of the GUI, I also have a push button to simulate a load flow analysis of the system using power_loadflow('-v2',sys). So far this works. Now I am required to get the results of this back into the MATLAB workspace, but I have no idea if it is possible. Can anyone inform me if this is possible and possibly some guidelines to follow if it is possible to achieve what I want.
  1 Kommentar
Tony Castillo
Tony Castillo am 17 Okt. 2016
Hi, you have to connect to your model "To File" blocks in order to collect all data in the matlab workspace.

Melden Sie sich an, um zu kommentieren.

Antworten (1)

Grégory SEABRA
Grégory SEABRA am 15 Nov. 2016
Hi,
you can use a "To Workspace" block from Simulink library.

Kategorien

Mehr zu Modeling finden Sie in Help Center und File Exchange

Community Treasure Hunt

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

Start Hunting!

Translated by