Import a .txt into a cell of a table?
1 view (last 30 days)
Show older comments
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 Comments
Answers (1)
Aveek Podder
on 17 Oct 2017
Hi,
You can use CellSelectionCallback and uigetfile to load data from a file.
2 Comments
See Also
Categories
Find more on Migrate GUIDE Apps in Help Center and File Exchange
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!