Import a .txt into a cell of a table?
1 回表示 (過去 30 日間)
古いコメントを表示
Hello everybody,
it might seems easy to some of you but I'm struggling to import a .txt or a .csv - file into a single cell of a table in Matlab.
for a better understanding i attached a picture of my created table.
The task i want to realize is that if click on a cell (each cell of the column should be able to do this) in the column of 'transient', I want a window to pop up, so I can select a .txt-file (contains a number for Power and a number for the time)
Is this even possible?
I'm hoping for some help :)
if you need my code for the table as well, tell me
0 件のコメント
回答 (1 件)
Aveek Podder
2017 年 10 月 17 日
Hi,
You can use CellSelectionCallback and uigetfile to load data from a file.
2 件のコメント
参考
カテゴリ
Help Center および File Exchange で Creating, Deleting, and Querying Graphics Objects についてさらに検索
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!