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

1 visualización (últimos 30 días)
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 comentarios
Jelthe
Jelthe el 11 de Abr. de 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 el 11 de Abr. de 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.

Iniciar sesión para comentar.

Respuestas (1)

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

Categorías

Más información sobre Migrate GUIDE Apps en Help Center y File Exchange.

Etiquetas

Community Treasure Hunt

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

Start Hunting!

Translated by