About 2,170,000 results
Open links in new tab
  1. Write Data to Excel Spreadsheets - MathWorks

    To export a numeric array and a cell array to a Microsoft® Excel® spreadsheet file, use the writematrix or writecell functions. You can export data in individual numeric and text workspace variables to any worksheet in the file, and to any location within that worksheet.

  2. Read Spreadsheet Data into Array or Individual Variables

    Based on your data and the data type you need in the MATLAB® workspace, use one of these functions: readmatrix — Import homogeneous numeric or text data as a matrix. readcell — Import mixed numeric and text data as a cell array.

  3. Converting Dataset Simulation results to Excel Spreadsheet

    Jun 11, 2013 · Two simple functions that convert a Dataset parameter, containing Simulink Simulation data, to excel. Many times when running simulations, you want to take the results, and use them in an excel spreadsheet, or convert them to a text format.

  4. How to Write Data to Excel Spreadsheets in MATLAB?

    5 days ago · MATLAB provides options to write a table, array, or matrix to Microsoft Excel spreadsheets. The function available to do so is the writetable () function. The general syntax for this function is: Syntax: writetable (<data>, <filename>, <optional_values>)

  5. How to Export Matlab Data to Excel - thebricks.com

    Feb 20, 2025 · The simplest way to export data to Excel in MATLAB is by using the xlswrite function. This built-in function directly writes your data to an Excel file. Here’s how you can use it: In this example, rand(10,3) generates a 10x3 matrix of random numbers, which is then written to example.xlsx. Easy, right? However, there are some limitations.

  6. Export multiple datasets to one Excel sheet in Matlab

    Aug 18, 2014 · For single datasets i use the 'export' function (as opposed to 'xlswrite'), e.g.: This writes the dataset 'Data' to the specified spread sheet. Now I want to export multiple datasets to 1 spread sheet. Thus, I can't use the 'export' function anymore (as far as I know).

  7. matlab multidimensional array to excel - Stack Overflow

    Nov 11, 2016 · I have a Matlab script with an output of a multidimensional array LCOE (3 dimensions) of size 16:12:34. This output needs to be written to Excel, therefore I use xlswrite. I have tried this: T = LCOE(:,:,1); xlswrite('filename', T, 'sheetname', 'B2');

  8. Export table of cell arrays to excel - MATLAB Answers - MathWorks

    Jun 17, 2015 · I'm trying to export a table containing 22x22 doubles in each cell to excel, is there any way to do this? Bonus would be to insert a row between each array in the table in excel. The ideal output would look like a series of 22x22 matrices separated by a row.

  9. Export Dataset Arrays - MathWorks

    Export Dataset Arrays. This example shows how to export a dataset array from the MATLAB ® workspace to a text or spreadsheet file. Load sample data. Export to a text file. Export without variable names. Export to a comma-delimited format. Export to an Excel spreadsheet.

  10. How to export a cell array into Excel with Matlab?

    However, if you have data like the above where C{1} is a char array and C{some n} = a cell array of names, it becomes somewhat inelegant: for n = 1:length(C) if ischar(C{n}) xlswrite('testfile.xls',C(n),1, sprintf('A%d',n)); elseif iscell(C{n}) xlswrite('testfile.xls',C{n},1, sprintf('A%d',n)); end end

  11. Some results have been removed
Refresh