Is it possible to input data to an UItable and get the data as a Workspace

1 Ansicht (letzte 30 Tage)
Hello,
i want to make an userfriendly GUI where you can copy paste your data from anywhere into an UItable. After pasting the data it should be available as a workspace in matlab. Is this possible? or am i thinking to big? I think it should be relativly easy shoulndt it?!
regards JT
  3 Kommentare
Jelthe
Jelthe am 11 Apr. 2016
I wanted to do some fancystuff for a common use of the programm. The code itself calculates pulsedurations. And i want to copy the input data from a .txt file and paste it in the GUI table so i have data for the calculation. Of course i could just copy paste it directly as a Workspacevariable. But i want it to be more userfriendly with GUItable etc.
thanks.
Walter Roberson
Walter Roberson am 11 Apr. 2016
You can set() the Data property of a uitable. You can create it either as a numeric array or a cell array. You can get() the Data property of a uitable . It will be either a numeric array or a cell array. You can process it afterwards.
However, there is no way to manipulate workspaces in MATLAB, only variables and graphic objects.

Melden Sie sich an, um zu kommentieren.

Antworten (1)

Walter Roberson
Walter Roberson am 11 Apr. 2016
In MATLAB, workspaces do not have any user-accessible existence as independent items. You cannot store or retrieve a workspace.

Kategorien

Mehr zu Migrate GUIDE Apps 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