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

1 次查看(过去 30 天)
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 个评论
Jelthe
Jelthe 2016-4-11
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 2016-4-11
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.

请先登录,再进行评论。

回答(1 个)

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

类别

Help CenterFile Exchange 中查找有关 Migrate GUIDE Apps 的更多信息

Community Treasure Hunt

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

Start Hunting!

Translated by