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

1 回表示 (過去 30 日間)
Jelthe
Jelthe 2016 年 4 月 7 日
コメント済み: Walter Roberson 2016 年 4 月 11 日
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 Center および File ExchangeMigrate GUIDE Apps についてさらに検索

Community Treasure Hunt

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

Start Hunting!

Translated by