Replace the specified text in a list of files with new text.
This utility will replace all string matches in the target files with a given string. This is similar to 'Replace all' in the editor, except that it can be used programmatically and on multiple
- 2.4K (All time)
- 2 (Last 30 days)
- 5.0 / 5
- Community
-
1 Sep 2016
REPLACEINFILE replaces characters in ASCII file using PERL
Easy and efficient way to replace strings in ASCII files. For example replace commas ',' to points '.' in large data files for easier load.
- 8.8K (All time)
- 2 (Last 30 days)
- 4.8 / 5
- Community
-
8 Jan 2009
Find and replace substring in file
strrepInFile works as the strrep function but replaces substring in file.For example, strrepInFile simplifies import of numeric data with comma as decimal mark :strrepInFile('data.txt', ',',
- 53 (All time)
- 1 (Last 30 days)
- 5.0 / 5
- Community
-
8 Feb 2017
Perform find and replace operations against a folder structure of MATLAB .m files.
This app enables you to search for text in *.m files in a folder or folder structure. Then, you may apply replacements to the instances found. Regular expressions may optionally be used in the search
- 610 (All time)
- 1 (Last 30 days)
- 4.9 / 5
- Community
-
20 Nov 2018
Search and replace in files
%% REPINF - Replaces in files (recursive through n levels of subdirs).%% Two search strings optional (for replacing all between).
- 2K (All time)
- 1 (Last 30 days)
- 4.0 / 5
- Community
-
12 Oct 2001
Make Inkscape PostScript files compatible with psfrag in LaTeX
eps files exported with Inkscape cannot be used with psfrag.
[<010203>-1<0405>-1<06>-1<07>1<08>129<090a06>]TJ and replaces them by strings of the form (int)Tj, where int is a number 1,2,3, ...Finally you can use \psfrag{int}{your latex expression} in LaTeX.This function is a modification of the function
- 855 (All time)
- 3 (Last 30 days)
- 5.0 / 5
- Community
-
8 Dec 2010
replaces text in multiple files
FindAndReplaceInAllFiles - replaces text in multiple files Extends the global find (shift+ctrl+F) window by a global find and replace option. Usage
- 8 (All time)
- 1 (Last 30 days)
- -- / 5
- Community
-
13 Jul 2023
- 2K (All time)
- 5 (Last 30 days)
- 5.0 / 5
- Community
-
11 Jul 2012
Recursively Replace all M Files with P Files
Save time generating p-code.
Provide a top-level directory and code will traverse all directories, replacing m-files with p-files.Your m-files will be lost, so back up the directory you are running this on if you want to keep
- 566 (All time)
- 1 (Last 30 days)
- 3.0 / 5
- Community
-
22 Jun 2010
The app is used for PKPD Modeling and Simulation.
The source code and case studies are included in this toolbox. The description of gPKPDSim and case studies are in the publication titled "gPKPDSim: A SimBiology®-based GUI application for PKPD
- 1.3K (All time)
- 4 (Last 30 days)
- 5.0 / 5
- Community
-
29 Sep 2021
Matlab import and export text binary text binary
Linux and Octave compatible
.m ProcessImagesInFolderByTecPlot.mReviseTecPlotMacroFile.mtest_matrixToTecplotBinaryFile.mTransformAndSaveTecPlotData.mTranslateTecPlotVectorDatToVelMat.m
- 1.2K (All time)
- 1 (Last 30 days)
- 5.0 / 5
- Community
-
8 Nov 2011
This function finds and replaces strings in a text file
SYNTAX:findreplace(file,otext,ntext)findreplace(file,otext,ntext,match)file: text file name (with or without path)otext: text to be replaced (old text)ntext: replacing text (new
- 13.3K (All time)
- 1 (Last 30 days)
- 3.6 / 5
- Community
-
27 Dec 2005
Search and Replace a WordSet Library
Library with functions to (i) search and replace a set of words in a set of files and (ii) filter characters to validate a file.
: fc_lib_file_search_replace_wordset.Each file has a brief description of itself and some examples of usage.%% functions used in this librarysctricly
- 76 (All time)
- 1 (Last 30 days)
- 5.0 / 5
- Community
-
17 Jun 2019
- 2.5K (All time)
- 3 (Last 30 days)
- 3.5 / 5
- Community
-
16 Apr 2011
MATLAB scripts for EEG/eye position data analysis
Various MATLAB scripts for EEG/eye position data analysis. See the FormatFigures folder for broadly applicable visualization functions, StructsAndFiles for struct manipulation, and LogReg for machine
- 318 (All time)
- 1 (Last 30 days)
- -- / 5
- Community
-
11 Jun 2018
Interpolates (& extrapolates) NaN elements in a 2d array.
Interpolate NaN elements in a 2-d array using non-NaN elements. Can also extrapolate, as it does not use a triangulation of the data. Inpaint_nans offers several different approaches to the
- 48.9K (All time)
- 40 (Last 30 days)
- 5.0 / 5
- Community
-
13 Aug 2012
Replace one or more strings in one or more files safely
strrepfile(filename,S1,S2) replaces all occurrences of the string S1 in the file filename with the string S2. S1, S2 may also be cell arrays of strings of the same size, in which case the replacement
- 365 (All time)
- 1 (Last 30 days)
- -- / 5
- Community
-
11 Sep 2013
Facilitates the reuse of matrix factorizations in large dense linear algebra problems.
. Normally you'd want to use MATLAB's own lslin to solve this type of problem.Assume further the system to be sufficiently well conditioned. In this case, the method of solution based on explicit normal
- 647 (All time)
- 3 (Last 30 days)
- -- / 5
- Community
-
20 Apr 2011
Store and manipulate symmetric matrices with half of the dense memory consumption
get an 'Out of memory' error.Symmetric matrices stored in packed format take up only (approximately) half of the memory that would be necessary to store them in full; furthermore, element-wise
- 570 (All time)
- 2 (Last 30 days)
- -- / 5
- Community
-
9 Jan 2014
Reuse intermediary results in multiple related convolutions with the same data but different kernels
multiplication in the frequency domain, we reuse the FFT of the data, and need to compute only the FFT of the kernel and the IFFT of their product. So this helps if the kernels are small and many and the data is
- 932 (All time)
- 1 (Last 30 days)
- -- / 5
- Community
-
7 Mar 2011
extend Matlab Editors callback
Extends the editor features. Closing brackets, Operator. Templates, Keyboard Shortcuts
View README.txt#============================== # Startup #============================== # the startup file creates a edit.m file in specified path (needs to be set) directory.# you can change this
- 675 (All time)
- 1 (Last 30 days)
- 5.0 / 5
- Community
-
26 Sep 2016
Set and get string field in caller.
These functions allow you to set and get a field string contained in the caller to store information in comment lines. If you set a field in your script or function with format "@field_name:" you can
- 5 (All time)
- 1 (Last 30 days)
- 5.0 / 5
- Community
-
22 May 2020
Find and replace in currently selected editor text.
Uses the MATLAB Editor API and STRREP to find and replace all occurrences of a substring within the currently selected editor text.
- 978 (All time)
- 1 (Last 30 days)
- 4.8 / 5
- Community
-
21 Sep 2012
Fixes anti-aliasing issues for EPS files generated from pcolor plots
The file fixes anti-aliasing issues (diagonal artifacts) for EPS files generated from pcolor plots by replacing triangular tiles by proper rectangular ones.
- 2K (All time)
- 1 (Last 30 days)
- 3.7 / 5
- Community
-
23 Oct 2013
Replace several elements at once
Current version 1.4, dec 2006REPLACE - Replace ElementsB = REPLACE(A,S1,S2) returns a matrix B in which the elements in A that are in S1 are replaced by those in S2. In general, S1 and S2 should have
- 4.1K (All time)
- 1 (Last 30 days)
- 4.0 / 5
- Community
-
8 Dec 2006
Replace strings in nested structure and cell arrays.
This function recursively traverses an arbitrarily deeply nested set of structure and cell arrays, finds all instances of a given string, and replaces it with a new string.Beyond any simple text
- 657 (All time)
- 1 (Last 30 days)
- 5.0 / 5
- Community
-
9 Jun 2010
find_replace_system in Simunlink API
Searches any block/annotation/signal property in a model and replaces with the new value.
"find_replace_system" will search and replace almost anyblock/annotation/signal property in Simulink. Ref: Simulink API documentation "find_system". Please refer the syntax and examples below. Syntax
- 448 (All time)
- 1 (Last 30 days)
- 5.0 / 5
- Community
-
25 Mar 2022
Bib library abbreviation replacer
Replace custom journal and conference abbreviations in .bib files.
This file can be used to automatically replace journal and conference abbreviations in automatically generated .bib files originating from a bibliography manager such as zotero or mendeley.Keys to
- 4 (All time)
- 1 (Last 30 days)
- -- / 5
- Community
-
15 Dec 2020
FindReplaceTool helps to search a string in a Simulink model and replace it with another string.
FindReplaceTool helps to search a string in a Simulink model and replace it with another string.FindReplaceTool will help the user to Find-Replace a string in Simulink and Stateflow models.Usage:Add
- 103 (All time)
- 3 (Last 30 days)
- 5.0 / 5
- Community
-
25 Mar 2022
Simulink Model String Replacement
replace a string in Simulink object names with another
mdl_strrep is a utility to identify blocks and other Simulink components that contain a particular string in their name. MDL_STRREP(OBJECT,S1,S2) replaces all occurrences of the string S1 in the name
- 762 (All time)
- 2 (Last 30 days)
- 5.0 / 5
- Community
-
1 Sep 2016
Performs regular expression replacement in a file or files
this case the single string repstr will replace all the patterns in exp.-----regexprepfile replaces the string by creating a temporary copy of the file in which the replace is to be performed, replacing
- 272 (All time)
- 1 (Last 30 days)
- -- / 5
- Community
-
11 Sep 2013
Find and replace GUI for Simulink
- 158 (All time)
- 1 (Last 30 days)
- 5.0 / 5
- Community
-
6 Mar 2016
Replace Simulink Scope/Display Blocks with Terminators
Cleans Simulink models of all Scope and Display blocks by replacing them with Terminator blocks.
. These lost blocks can effect the run-time of the model according to The Mathworks: http://www.mathworks.com/support/solutions/data/1-18AAG.html?solution=1-18AAG This m-class file loads a simulink model
- 925 (All time)
- 1 (Last 30 days)
- 5.0 / 5
- Community
-
7 Jul 2009
STLREAD imports geometry from a binary stereolithography (STL) file into MATLAB.
In addition to the STLREAD import function, this submission also includes a small demo that loads an STL model of a human femur bone.FV = STLREAD(FILENAME) imports triangular faces from the binary
- 40.4K (All time)
- 23 (Last 30 days)
- 4.7 / 5
- Community
-
20 Jul 2011
Augments MATLAB's date/time library for improved handling of epochs and formats commonly used in GPS
Augments MATLAB's date/time library for improved handling of epochs and formats commonly used in GPS.The base date or reference epoch is brought closer to contemporary dates for improved precision
- 1.3K (All time)
- 1 (Last 30 days)
- -- / 5
- Community
-
25 May 2018
- 773 (All time)
- 1 (Last 30 days)
- -- / 5
- Community
-
15 Mar 2011
geod -- yet another geodetic toolbox
Vectorized manipulation of coordinates commonly used in geodesy.
- 1.4K (All time)
- 1 (Last 30 days)
- -- / 5
- Community
-
27 Dec 2013
Do: C = frontal_mtimes(A, b); not: for k=1:size(A,3), C(:,:,k) = A(:,:,k) * b(:,:,k); end
These routines assist in the manipulation of matrices with same shape but different content. For example, performing the product A*b is trivial for matrix A and vector b, but what would you do if you
- 781 (All time)
- 1 (Last 30 days)
- -- / 5
- Community
-
16 Apr 2011
Replace NaNs in a 1D array by interpolation
This function replaces NaN values in a 1D array with interpolated or neighboring values. Interpolation schemes assume data are evenly spaced. This function does not extrapolate.Syntaxx = repnan(x);x
- 1.9K (All time)
- 1 (Last 30 days)
- 5.0 / 5
- Community
-
1 Nov 2014
filefun: Apply a function to files
Adds multi-file functionality to functions handling only single files.
files in current directory:filefun(@openfig,'*.fig')Pick a couple of image files and compute their mean RGB values:pth=fullfile(matlabroot, 'toolbox', ... 'matlab', 'demos', 'html
- 3.7K (All time)
- 2 (Last 30 days)
- 5.0 / 5
- Community
-
16 Feb 2007
strpat: a pedestrian, exactly matching pattern finder / replacer
STRPAT finds and replaces an exactly matching pattern in a character or numeric string
- 11.2K (All time)
- 1 (Last 30 days)
- 5.0 / 5
- Community
-
22 Apr 2010
MATLAB File Association & Shortcut Fix
Fixes trouble with MATLAB file associations and missing shortcuts in Windows
Writes a Windows registry file that fixes problems with MATLAB file associations in Windows, e.g., that m-files doesn't open up in MATLAB or opens up in a new instance. Can also be used to switch
- 42.2K (All time)
- 32 (Last 30 days)
- 4.9 / 5
- Community
-
19 Mar 2021
Replace text / images in a Microsoft Word .docx file, no dependencies
DocxEditor, can be used to Replace text / images in a Microsoft Word .docx file. Example usage, is a template of a report with some default text and images which are replaced to generate a report in
- 1 (All time)
- 1 (Last 30 days)
- -- / 5
- Community
-
18 Dec 2025
- 4K (All time)
- 17 (Last 30 days)
- 5.0 / 5
- Community
-
15 Jul 2024
Updated code to replace colors in figures with hatching
This is an update of Brian Katz's update to Ben Hinkle's original applypatch and makepatch code for replacing colors in figures with hatches. This new version allows you to expand the width of hatch
- 5.1K (All time)
- 2 (Last 30 days)
- 5.0 / 5
- Community
-
21 Feb 2008
stlwrite - write ASCII or Binary STL files
Export a variety of inputs (patch, surface) to an STL triangular mesh
FV (a structure with fields 'vertices' and 'faces'). stlwrite(FILE, FACES, VERTICES) takes faces and vertices separately, rather than in an FV struct stlwrite(FILE, X, Y, Z) creates an
- 30.5K (All time)
- 15 (Last 30 days)
- 4.9 / 5
- Community
-
4 May 2018
SMC controller with quadratic minimization, adaptive functionalities and integral action for reference tracking.
SMC controller with quadratic minimization, adaptive functionalities and integral action for reference tracking. Further details are included in the 'instructions' file.
- 2.4K (All time)
- 3 (Last 30 days)
- 5.0 / 5
- Community
-
10 Apr 2019
REplace a Membership Function in the FIS.
It is similar to the addmf function in the Fuzzy Logic Toolbox. Just that it replaces the existing membership function instead of adding a new one.
- 2.9K (All time)
- 1 (Last 30 days)
- 5.0 / 5
- Community
-
26 Jun 2002
Read VAXD and VAXG files in R2008b and later
These functions allow the user to read VAXD and VAXG files in MATLAB R2008b and later.
In R2008b, fopen no longer supports vaxd and vaxg file formats. This tool lets your use the ieee-le file format to read these files in R2008b and later. These tools are not for writing vaxd or vaxg
- 1.9K (All time)
- 1 (Last 30 days)
- 5.0 / 5
- Community
-
1 Sep 2016
Detect and replace outliers in a signal.
that this implementation is in C++/mex and is significantly faster, especially for large datasets. One other difference is that the window width in this implementation is specified as a number of points
- 1.1K (All time)
- 2 (Last 30 days)
- 5.0 / 5
- Community
-
4 Feb 2013
Embedded system terminal for MATLAB
?repo=matlab/terminal-in-matlab&file=toolbox/doc/Install.m) [](../../releases/latest/download/Terminal.mltbx) ![GitHub
- 445 (All time)
- 370 (Last 30 days)
- 4.7 / 5
- Community
-
18 Jun 2026
MATLAB files for Exercises Solving ODEs in MATLAB
series of exercises referenced in the videos using this set of downloadable MATLAB files.
- 14.4K (All time)
- 14 (Last 30 days)
- 4.8 / 5
- Community
-
26 May 2017
Finds all occurrences of NaN in a cell array and replaces them.
cellData=cellNaNReplace (cellData, replaceWith)Accepts a cell array and a char/integer and replaces all occurrences of NaN in that cell array with the 'replaceWith' value. This is especially useful
- 3.2K (All time)
- 1 (Last 30 days)
- 3.8 / 5
- Community
-
26 Apr 2006
Extract (pick out) data points off image files.
GRABIT Extracts data points from an image file.GRABIT starts a GUI program for extracting data from an image file. It is capable of reading in BMP, JPG, TIF, GIF, and PNG files (anything that is
- 108.7K (All time)
- 222 (Last 30 days)
- 4.8 / 5
- Community
-
1 Sep 2016
Read .xyz files and make gridded datasets.
Here are two functions: xyzread reads text .xyz files into your Matlab workspace. This is written for GMT-generated .xyz files, but may work for other .xyz files as well. xyz2grid converts the
- 5.3K (All time)
- 4 (Last 30 days)
- 4.9 / 5
- Community
-
6 Apr 2016
Replace or delete values in a surface farther than a given distance from points.
Given a gridded surface Z corresponding to X and Y, this function will replace points in Z with NaN (or any other value you declare) if they are farther than maxdist from any point given by x,y. See
- 436 (All time)
- 1 (Last 30 days)
- 5.0 / 5
- Community
-
20 May 2019
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
- 585 (All time)
- 2 (Last 30 days)
- 5.0 / 5
- Community
-
13 Apr 2020
Auto-process all files in sub-folders
Runs user-specified function on all files in a folder
processing function for each file.Detailed syntax is described in the .m fileFor example, if I want to open all images in a directory, invert them and save back, I can create a function that does that for one
- 821 (All time)
- 1 (Last 30 days)
- 5.0 / 5
- Community
-
15 Sep 2009