Clear Filters
Clear Filters

Info

This question is closed. Reopen it to edit or answer.

import from excel, do the search then export to excel

1 view (last 30 days)
Islam
Islam on 17 May 2017
Closed: MATLAB Answer Bot on 20 Aug 2021
I want to import two sheets from excel do the modification and searches I want export to a third sheet in the document
How can I import and save the answers to an exported sheet ?

Answers (1)

Cam Salzberger
Cam Salzberger on 17 May 2017
You can get data from Excel files using "xlsread" or "readtable". There is also the Import Data tool, if you would prefer to select the data manually, and maybe generate code to do it automatically conforming to your selections.
Once you do your searching and processing, you can output to an Excel file with "xlswrite", or "writetable" if your data is a table.
There are various options for all of those to specify which file and sheet names to use.
-Cam

This question is closed.

Community Treasure Hunt

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

Start Hunting!