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

1 vue (au cours des 30 derniers jours)
Jelthe
Jelthe le 7 Avr 2016
Commenté : Walter Roberson le 11 Avr 2016
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 commentaires
Jelthe
Jelthe le 11 Avr 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 le 11 Avr 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.

Connectez-vous pour commenter.

Réponses (1)

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

Catégories

En savoir plus sur Migrate GUIDE Apps dans Help Center et File Exchange

Community Treasure Hunt

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

Start Hunting!

Translated by