User input for table data

Hello together,
I want to open a "dialog box" in which the user can add data in tabular form per copy/paste and after a few calculations a table with the results to copy/paste it back. That's because the users normally have their data (a few columns and thousands of rows - every time different) in tabular form in different software and they want to perform calculations by copy/paste in matlab and then copy/paste it back.
How can I do that? Either a solution or a hint would be perfect.
Thank you for your replies.
Best wishes

3 comentarios

Bob Thompson
Bob Thompson el 4 de Abr. de 2018
I don't know about opening a dialog box specifically, but if your user can copy and paste the data into a text file or similar then matlab has a number of options for reading and writing with .txt, .csv, .xlsx, etc. file types.
Here is a link to a page about general importing and exporting with matlab, just choose the type of importing or exporting you want.
elchico
elchico el 5 de Abr. de 2018
Hi Bob Nbob,
thank you for your reply.
I know about these txt file opening functions. But I am looking for a table which opens so the user can add the data per copy paste.
Background: My users use normally Origin as data evaluation and then for my calculations they don't want to save these data as a txt file, open it in matlab, calculate, save the calculated data again as txt file and import the file then in Origin again. It would be much easier to just copy / paste the data in a table, run the calculations and copy / paste them back.
Regards.
Bob Thompson
Bob Thompson el 5 de Abr. de 2018
I guess that's fair. Unfortunately, I do not know how to perform a copy paste like that in MATLAB.

Iniciar sesión para comentar.

Respuestas (0)

Categorías

Preguntada:

el 4 de Abr. de 2018

Comentada:

el 5 de Abr. de 2018

Community Treasure Hunt

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

Start Hunting!

Translated by