Paste Data to Editable Table in AppDesigner UI
20 次查看(过去 30 天)
显示 更早的评论
Hello everyone,
I have created the app that I need in AppDesigner. Everything works well. However, in my app, user will enter n number of rows of data to the table provided in the app. Then, I will use this table to calculate the output. However, entering the data to table in AppDesigner is pain. Copy and paste (from Excel, notepad etc.) does not work. User should click to cell, right the number and press enter to skip to next cell.
I don't want to use xlsread since it requires creating an Excel with a given definition. So this is not efficient in my case.
What would you recommend to make this process more efficient?
0 个评论
回答(1 个)
J. Alex Lee
2020-7-25
when you say you don't want to use xlsread, is it that you don't want to force usage of excel, or you don't want to read files at all?
if you just don't want excel but are ok with reading files, look into readmatrix(), csvread(), or lower level file i/o functions.
2 个评论
J. Alex Lee
2020-7-25
if this function works for you, maybe it will help (it says requires java, which I thought matlab carries around its own version of, but maybe it depends on environment): https://www.mathworks.com/help/matlab/ref/clipboard.html
But i wouldn't be surprised if it won't work on a web-deployed app or maybe even stand-alone executable app.
另请参阅
类别
在 Help Center 和 File Exchange 中查找有关 Spreadsheets 的更多信息
产品
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!