Calculates full target range in Excel A1 notation.
This is basically a Matlab version of the Excel function Offset, albeit with enhancements.xlrange = xlcalcrange(h,refCell,r,c,m,n)returns the full target range in Excel A1 notation to cover an m-by-n
- 1.3K (All time)
- 6 (Last 30 days)
- 5.0 / 5
- Community
-
2 Apr 2026
Convert index to Excel A1 notation
Convert index to Excel A1 notation used in xlswrite
This function translates an index to the Excel A1 notation that is used in xlswrite.%%%function a1String = idx2A1(idx)alphabet = 'ABCDEFGHIJKLMNOPQRSTUVWXYZ';if idx < 27 a1String =
- 466 (All time)
- 1 (Last 30 days)
- 2.5 / 5
- Community
-
21 Sep 2010
Collection of programs that ease interaction with Excel files.
The X collection is a set of Matlab programs that make it easier for the user to interact with Excel sheets. Matlab offers already many ways of exchanging data with Excel. For instance 'xlsread' and
- 1.2K (All time)
- 1 (Last 30 days)
- 5.0 / 5
- Community
-
21 Jan 2015
Column index to Excel A1 notation Converter
这是一个Matlab的函数,用于将任意正整数(列序号)转换为Excel的A1样式。 Convert positive integer (idx) to Excel A1 notation without limit of max index.
This function converts an index of column to the Excel A1 notation. But there is no limit to the maximal index.%%%function A1string = idx2A1(idx)alphabet = 'ABCDEFGHIJKLMNOPQRSTUVWXYZ';if idx >= 1
- 0 (All time)
- 0 (Last 30 days)
- -- / 5
- Community
-
7 May 2025
Easily read text and numerical data from any delimited text file (such as CSV).
requiring a format string. A range can be specified in Excel A1 format, or alternatively in start/end row and column values. The function is optimized to ignore unneeded data on the first read instead of
- 1.3K (All time)
- 1 (Last 30 days)
- 5.0 / 5
- Community
-
10 Aug 2015
Convert Excel column letters to numbers or vice versa, for processing data to/from XLSREAD/XLSWRITE.
B = XLSCOL(A) takes input A, and converts to corresponding output B. The input may be a number, a string, an array or matrix, an Excel range, a cell, or a combination of each within a cell
- 4.9K (All time)
- 1 (Last 30 days)
- 5.0 / 5
- Community
-
2 Aug 2010
Excel Column Number To Column Name
Converts an array of numbers to a cell array of Excel column names
XLSCOLNUM2STR takes in an array of numbers and returns a cellular array of the same size with cell of corresponding Excel column names.example:n=[1 10; 53 256]c=xlsColNum2Str(n);c={'A' , 'J
- 4.1K (All time)
- 2 (Last 30 days)
- 5.0 / 5
- Community
-
3 Aug 2009
Get sheet names from Excel file
Reads the sheet names from Excel file for the given format :: .xls, .xlsm, .xlsx, .xltm, .xltx, .xltm
: xl_xlsfinfo% Author : Pruthvi Raj G% Version : Version 1.0 - 2011b Compactible% Description : Finds all the sheets in the Excel file ( .xls, .xlsm, .xlsx, .xltm, .xltx, .xltm
- 587 (All time)
- 4 (Last 30 days)
- 5.0 / 5
- Community
-
13 Apr 2020
Convert an A1-style spreadsheet column label to a number.
ABC2NUM translates an A1-style (absolute) column label reference to a number; NUM2ABC does inverse.
by spreadsheet programs such as Calc and Microsoft Excel[1]. Other characters, including lower case letters, a-z, are ignored.NUM2ABC(D) returns the A1-style string label corresponding to the
- 1.7K (All time)
- 2 (Last 30 days)
- 5.0 / 5
- Community
-
23 Mar 2012
Copy Sheet from one excel file to another excel file
A script intended to copy sheet from one excel file and paste to another and renaming the sheet required.
% Version : Version 1.0 % Description : A script intended to copy sheet from one excel file to
- 656 (All time)
- 2 (Last 30 days)
- 4.3 / 5
- Community
-
30 Sep 2019
xlwrite: Generate XLS(X) files without Excel on Mac/Linux/Win
Generates ‘.xls’ & '.xlsx' files on Mac/Linux/Win without Excel, using same syntax as xlswrite.
a cell array like for example:xlsData = {1 true 'text' false; 10 -12.5 6 false};To generate the Excel file without too much overhead, xlwrite interacts directly with the Apache POI library. The
- 14.6K (All time)
- 3 (Last 30 days)
- 4.7 / 5
- Community
-
27 Feb 2013
Set columns in Excel to Auto Fit
Set columns in Excel to Auto Fit
This function will set the selected columns to autofit.This is the same as using the Excel menu: Format -> Column -> AutoFit Selection .Example :xlsAutoFitCol('filename','Sheet1','A:F')
- 1.9K (All time)
- 3 (Last 30 days)
- 5.0 / 5
- Community
-
12 Mar 2009
vlookup - similar to MS Excel function
A matrix version of VLOOKUP similar to MS Excel function.
of 'm' in the same row. the 'm' could be a numeric matrix of a cell matrix.lookcolumn is 1 by default if omitted.Example:m = {1, 'a', [2 3];2, 'b', 'cd'3, 'a', true;}; [content, index] = vlookup(m, 'a
- 2.2K (All time)
- 1 (Last 30 days)
- 4.6 / 5
- Community
-
2 Nov 2010
Export signal builder to excel
The signal builder block allows you to import Excel® spreadsheet but it doesn't allow you to export the signals to excel. With this function, it can.
- 521 (All time)
- 1 (Last 30 days)
- 5.0 / 5
- Community
-
29 Jun 2018
Delete Excel Workbook Sheets (Sheet 1 delete ) using Matlab
This Script is intended to Delete provided sheets , It can be an Array of sheets also.
:: www.prudhvy.com )% Version : Version 1.0 - 2011b Compactible% Description : Deleting Excel Sheets required after writing data to Excel. % Input : File_Name with path included ,
- 662 (All time)
- 2 (Last 30 days)
- 4.9 / 5
- Community
-
13 Apr 2020
A reader of RPlidar A1 that draws a map in real-time
This Simulink model provides an interface for the Slamtec RPLidar A1 using serial communication. The model automates the 'Standard Mode' initialization and performs real-time data acquisition at a
- 15 (All time)
- 1 (Last 30 days)
- -- / 5
- Community
-
24 Jan 2026
Set conditional formating to Excel
Set a conditional format in Excel to change negative numbers text color to red.
Set a conditional format in Excel to change negative numbers' text color to red. The code can be modifeid quite easly to set any other
- 1.5K (All time)
- 1 (Last 30 days)
- 5.0 / 5
- Community
-
26 Feb 2009
Function for faster data transfer Matlab <--> Excel
This modified version makes the original xlsread.m faster and also allows add-ins to be loaded.
The idea came from a modified version of the xlswrite.m (the xlswrite1.m) posted by Matt Swartz in this fle exchange area on March 21, 2006. This version of xlsread.m was easily accomplished by
- 9.8K (All time)
- 1 (Last 30 days)
- 4.4 / 5
- Community
-
28 Mar 2012
Estimating the number of clusters via System Evolution
estimate number of clusters for far clusters, small-larger clusters, slightly overlapping clusters
- 1.4K (All time)
- 2 (Last 30 days)
- 4.0 / 5
- Community
-
7 Jul 2009
Run MS Excel macro with or without parameters
Run MS Excel macroUSAGExls_run_macro(xlsfile,macro)xls_run_macro(xlsfile,macro,params)INPUT- XLSFILE: name of the XLS-file- MACRO: macro name- PARAMS: parameters for the MACROOUTPUT- XLSFILE will be
- 1.1K (All time)
- 2 (Last 30 days)
- 5.0 / 5
- Community
-
3 Jun 2013
This compairs two excel sheet and gives the diffrenece
inputs and outputs are in terms of excel sheet to compare past version to present version one script is required so i have developed the script which compares two excel sheet
- 444 (All time)
- 1 (Last 30 days)
- 5.0 / 5
- Community
-
29 May 2012
GUI to read and plot variables from Excel files
This GUI allows the user to select an excel file with variables (currently only for the specific format attached, but can be easily modified to import other formats using the importtool) , displays
- 332 (All time)
- 2 (Last 30 days)
- 5.0 / 5
- Community
-
25 May 2016
Converting Dataset Simulation results to Excel Spreadsheet
Two simple functions that convert a Dataset parameter, containing Simulink Simulation data, to excel
Simulink model to run the imported scenario. The functions are documented and pretty much self-explanatory.Option 1 - Simulink to Excel:Open and run the model 'example_Simulink'. This will create a parameter
- 1.3K (All time)
- 2 (Last 30 days)
- 5.0 / 5
- Community
-
11 Jun 2013
Handling MATLAB Events in Excel
Source code for Sept. 2006 News and Notes Programming Patterns article.
consists of two parts, a COM component generated by MATLAB Builder for .NET, and a Visual Basic class module that integrates the COM component into Excel. The COM component consists of M-files and data files
- 2.7K (All time)
- 1 (Last 30 days)
- 5.0 / 5
- Community
-
17 Nov 2010
Delete worksheets in Excel file
Delete selected worksheets or all empty worksheets in Excel file
Delete worksheets in Excel fileUSAGExls_delete_sheets(xlsfile)xls_delete_sheets(xlsfile,sheets)INPUT- XLSFILE: name of the Excel file- SHEETS: cell array with the worksheet names, or matrix with
- 2K (All time)
- 1 (Last 30 days)
- 5.0 / 5
- Community
-
3 Jun 2013
Paste a Matlab figure to Excel
Paste a Matlab figure to Excel
This Function takes the current Matlab figure (gcf) and paste it into an existing Excel File.Example:plot(1:10)xlsPasteTo('Book2','Sheet1',300, 400,'D6')
- 5.1K (All time)
- 1 (Last 30 days)
- 4.6 / 5
- Community
-
21 Aug 2008
read_excel_columns(filename,sheet,columns,firstrow,lastrow)
Read selected columns from a large Excel file using ActiveX
If you need to read one or mode columns of numeric data from a large Excel file, this will do it faster, and use less memory, than xlsread. Reads the same rows from all columns and returns an array
- 243 (All time)
- 1 (Last 30 days)
- 5.0 / 5
- Community
-
15 Mar 2016
Writes data to multiple ranges of existing Excel file.
Uses ActiveX commands to write data_n into range_n in an existing Excel spreadsheet. Inputs (excluding fileloc and promptforsave) must be paired.As of 10/04 update, you may provide the target range
- 14.9K (All time)
- 2 (Last 30 days)
- 4.9 / 5
- Community
-
15 Oct 2004
Excel 2007 Plot Themes for MATLAB
Makes a line plot look like those found in MS Excel 2007
The THEME function takes the given figure/axis and applies one of the color schemes found in Microsoft Excel 2007 OR sets the chosen the theme to be the default for all future plots. Choose from one
- 2K (All time)
- 1 (Last 30 days)
- 5.0 / 5
- Community
-
10 Jul 2007
Excel file generation with Matlab results
Generate the big data excel files from the Matlab outputs
After running the program, sometime, we need the excel file of our output but it is timeconsuming to copy and paste our big data one by one we can use this program to save more time and it is also
- 174 (All time)
- 1 (Last 30 days)
- 5.0 / 5
- Community
-
4 Oct 2016
Converts a cell array of Excel column names to an array of Excel column numbers
XLSCOLSTR2NUM takes in a cellular array of characters and returns a array of numbers of the same size with elements corresponding to Excel column numbers.See Also XLSCOLNUM2STR
- 1.7K (All time)
- 2 (Last 30 days)
- 4.0 / 5
- Community
-
3 Mar 2008
SDOxlsIF: Excel Interface API for Simulink Data Object
SDOxlsIF: Useful M-File functions to interface Simulink Data Object with Microsoft Excel worksheet.
SDOxlsIF is a set of three M-File functions.XLSREADSDO enables you to load workspace variables of Simulink Data Object from Excel worksheets.XLSWRITESDO enables you to save workspace variables of
- 2.1K (All time)
- 2 (Last 30 days)
- 5.0 / 5
- Community
-
24 Nov 2008
NXT Scanner with Lego Mindstorms NXT
NXT Scanner Model-Based Design based on Embedded Coder Robot NXT.
- 3.2K (All time)
- 2 (Last 30 days)
- 5.0 / 5
- Community
-
11 May 2009
Exporting a MATLAB plot/figure to Excel
Copy using dmeta and pasting using PasteSpecial
Very simple and small program to export a MATLAB fig or plot to a specific excel file. (location of the plot in the excel file can be changed by changing the "Range" variable... )
- 7.5K (All time)
- 1 (Last 30 days)
- 3.9 / 5
- Community
-
9 Mar 2009
Store Excel named range in MATLAB
This function retrieve a "Named Range" from an Excel workbook
This function look in the specified workbook to a specific Named range given as an input. If not found, an empy matrix is returned. the workbook should be an absolute path.
- 1.9K (All time)
- 1 (Last 30 days)
- 4.5 / 5
- Community
-
1 Sep 2016
create an embedded chart in excel from data in excel spreadsheet.
this function provides embedded charts in excel from data already present and saved in excel.HOW TO USE:1) download the zip file here.2) open test1.m and set the address of test1.xlsx accordingly.3
- 433 (All time)
- 1 (Last 30 days)
- 4.0 / 5
- Community
-
28 Sep 2011
(Update) Synopsys /Sentaurus: make your .plt files readable by Excel, Origin... etc
Convert your .plt files into .txt files which can be imported straight into Excel, Origin... etc
files are located and all of them will be automatically converted in .txt files readable by software like Excel, Origin etc...Notice that if you stop/abort the simulation in Synopsys, the end bracket "}"
- 220 (All time)
- 2 (Last 30 days)
- 5.0 / 5
- Community
-
23 Mar 2017
NONLINEAR-INELASTIC MULTI-AXIAL TIME RESPONSE ANALYSIS OF SDOF OSCILLATOR
Robust MatLAB function for nonlinear-inelastic time-history analysis of SDOF oscillator
- 413 (All time)
- 1 (Last 30 days)
- 5.0 / 5
- Community
-
17 May 2017
cmtdtool can reduce and automate manual operations required to perform model-based testing.
performed when you run tests for a controller model. This tool helps you to reduce and automate manual operations required to perform them.(1) Excel to SignalBuilder conversion (1-1) Create SignalBuilder
- 2.8K (All time)
- 3 (Last 30 days)
- 4.6 / 5
- Community
-
1 Sep 2016
Allows M-code to be called using Excel Link and .NET(COM) Builder without making any changes in VBA
as a guide.STEP 0 - Install Excel Link (see the product documentation for details).STEP 1 - In Excel, hit Alt-F11 to open the Visual Basic Editor and drag MATLABInfrastructure.bas into it.STEP 2 -
- 3K (All time)
- 1 (Last 30 days)
- 4.0 / 5
- Community
-
1 Sep 2016
Read multiple sheets in Microsoft Excel spreadsheet file
Read multiple sheets in Microsoft Excel spreadsheet file
- 341 (All time)
- 1 (Last 30 days)
- 5.0 / 5
- Community
-
29 Jul 2014
Updated version of xlswrite1 for faster writing to Excel, based on R2018b
except that when done, a call to xlsWriteEx with no input parameters is required to close the Excel server.For example: [status,message] = xlsWriteEx(myExcelFile1, myData1, ''Sheet1', 'A1
- 382 (All time)
- 2 (Last 30 days)
- 5.0 / 5
- Community
-
17 Dec 2018
Video Demonstration Of How To Use MATLAB Excel Builder
A video files shows you how to build your own functions in matlab & use them directly into microsoft
This is a video demonstration tutorialto be as an introduction to use MATLAB Excel Builder. The attached file contains three m-file programs andvideo file to show you how to make these programs
- 2.2K (All time)
- 1 (Last 30 days)
- 4.8 / 5
- Community
-
14 Dec 2007
Data Analysis with MATLAB for Excel Users
Materials for public seminar of the same name (slides and demos)
Contains the slides and demos for the seminar entitled "Data Analysis with MATLAB for Excel Users", which was delivered on March 7th at the Newton Marriott in Newton, MA.While a clever person could
- 9.2K (All time)
- 1 (Last 30 days)
- 4.6 / 5
- Community
-
1 Sep 2016
Curvature of a 1D curve in a 2D or 3D space
Calculates the local radius of curvature as well as the cumulative arc length and the curvature vector along a 1D curve in 2D or 3D space
Function circumcenter finds the radius R and the center of the circumscribed circle of a triangle in 3D space. Function curvature calls circumcenter for every triplet , , of neighboring points along
- 5.7K (All time)
- 8 (Last 30 days)
- 4.8 / 5
- Community
-
10 Nov 2021
csv2cellfast - import CSV files on machines without Excel
Parses a Windows CSV file into an NxM cell array if strings.
A rewritten CSV importer inspired by Arthur Hebert's function.Vector operations are used instead of loops, which leads to 2x to 10x speed improvements.Files with a large number of quoted cells (cells
- 118 (All time)
- 1 (Last 30 days)
- 5.0 / 5
- Community
-
27 Apr 2020
Access Excel Blocks within Simulink
Simulink Excel Blocks is a custom Simulink library that will be useful for referring to Excel files within a Simulink model
Simulink Excel Blocks is a custom Simulink library which will be useful to the refer the Excel files within Simulink model.Usage: If this SimExcelBlocks folder is in MATLAB path, then this library
- 219 (All time)
- 1 (Last 30 days)
- 5.0 / 5
- Community
-
25 Mar 2022
extend Matlab Editors callback
Extends the editor features. Closing brackets, Operator. Templates, Keyboard Shortcuts
- 675 (All time)
- 1 (Last 30 days)
- 5.0 / 5
- Community
-
26 Sep 2016
MATLAB read/write/control Excel
What XLSREAD and XLSWRITE do under the hood
On a Windows platform, MATLAB's XLSREAD and XLSWRITE open Excel as a COM automation server in the background to read/write data. Sometimes users want XLSREAD and XLSWRITE to do more, and would like
- 4.5K (All time)
- 1 (Last 30 days)
- 4.3 / 5
- Community
-
25 Jan 2008
3D Surface Plots from Excel Data GUI
Upload data from Excel and plot in 3D as a scatter plot, lsq curve fit, contour plot and others.
and the optimal size/speed/etc. can be chosen. Go from excel to Matlab to .png pictures in a matter of minutes.
- 6.5K (All time)
- 1 (Last 30 days)
- 4.3 / 5
- Community
-
16 Sep 2011
Load Excel file contents as a structure
xls2struct Load Excel file contents as a structure xlsstruct = xls2struct(file) loads the Excel file 'file'. The first row is used to generate the field names for the 1x1 structure xlsstruct. Each
- 3.5K (All time)
- 1 (Last 30 days)
- 5.0 / 5
- Community
-
20 May 2010
Demos and files from the webinar
This example demonstrates using MATLAB to analyze and value a natural gas storage contract. Such valuations are typically done when financing/purchasing storage facilities, structuring contracts to
- 2.7K (All time)
- 2 (Last 30 days)
- 5.0 / 5
- Community
-
1 Sep 2016
Generate constraint specification file from Excel for Polyspace static analysis
The script is designed to automate the creation of a constraint specification file that can help in providing the context for Polyspace analysis.
- 86 (All time)
- 2 (Last 30 days)
- 3.7 / 5
- Community
-
6 Jan 2017
DC Power Flow Analysis in MATLAB
. Latter on, there is a possibility for further calculations, when there are contingencies in the system (generator is off, line is off...) and even full N-1 or N-1-1 analysis.
- 2.4K (All time)
- 8 (Last 30 days)
- 4.8 / 5
- Community
-
6 Feb 2017
Spreadsheet to pass data between Excel and MATLAB
This spreadsheet makes passing data back and forth between and Excel and MATLAB easy. It passes a list of ranges to MATLAB, runs code listed in the spreadsheet and then passes back variables to
- 4.4K (All time)
- 1 (Last 30 days)
- 3.5 / 5
- Community
-
20 Mar 2007
- 88 (All time)
- 1 (Last 30 days)
- 5.0 / 5
- Community
-
13 Sep 2017
A Simple GUI that pops up a selected sheet of excel.
A Simple GUI that pops up a selected sheet of excel.usage:1) save files in matlab path.2) run test1.m.
- 317 (All time)
- 1 (Last 30 days)
- -- / 5
- Community
-
30 Sep 2011
COMBINATOR -combinations AND permutations
Returns 1 of 4 different samplings on the set 1:N, taken K at a time.
COMBINATOR will return one of 4 different samplings on the set 1:N, taken K at a time. These samplings are given as follows: PERMUTATIONS WITH REPETITION/REPLACEMENT COMBINATOR(N,K,'p','r') --
- 11.5K (All time)
- 3 (Last 30 days)
- 5.0 / 5
- Community
-
9 Sep 2010
scp2xls:Simulink ScopeData to write EXCEL(xls) File
From Simulink Scope Data To MS-EXCEL automatically.
, that often better appreciated in the xls format.If your are using MATLAB as network license in addition to that,Using EXCEL to edit the minutes of MATLAB / Simulink license is released.So effective
- 626 (All time)
- 1 (Last 30 days)
- 4.0 / 5
- Community
-
26 May 2011
xlwrite : Export Data to Excel from Matlab on Mac/Win
xlwrite allows you to export data (2d/3d arrays of double/cell) to Excel from Matlab (Mac/Win)
exported to a Java function which in turn writes the data to excel. Note that data to be exported is converted to cell then to java String array.This workaround is a real working solution, it may need
- 8.7K (All time)
- 2 (Last 30 days)
- 3.1 / 5
- Community
-
3 Aug 2012