35,921 results
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
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
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.
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
The CRD Toolbox for Simscape is dedicated to modelling and design of Chemical Reactors and Processes
equilibrium.An ideal multicomponent mixture of an arbitrary number of individual species in each phase is considered. By combining several basic blocks into subsystems composite blocks can be defined. Iteratively
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', ',',
Search and replace in files
%% REPINF - Replaces in files (recursive through n levels of subdirs).%% Two search strings optional (for replacing all between).
Compiles, runs, imports openmodelica models.
Functions to import SBML files containing function definitions into SimBiology.
that case, to ensure that the ODE solver registers the transitions events are added to the SimBiology model.- sbmlimportFunReplaceThis function replaces all function calls in the reaction rates by the
Linux and Octave compatible
.m ProcessImagesInFolderByTecPlot.mReviseTecPlotMacroFile.mtest_matrixToTecplotBinaryFile.mTransformAndSaveTecPlotData.mTranslateTecPlotVectorDatToVelMat.m
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
OpenCossan is an open and free toolbox for uncertainty quantification and management.
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
Convert humidity between different formats.
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
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
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
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
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
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
labsss alltogether
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
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
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
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
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.
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
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
A MATLAB toolbox for exporting publication quality figures
https://undocumentedmatlab.com/articles/export_fig Notes:Background color and figure dimensions are reproduced (the latter approximately, and ignoring cropping & magnification) in the output file. For transparent background (and semi-transparent
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
Alphanumeric sort of filenames or filepaths, with customizable number format.
NATSORTROWS: http://www.mathworks.com/matlabcentral/fileexchange/47433-natural-order-row-sortSummaryAlphanumeric sort the text in a string/cell/structure array. Sorts the text by character code taking into
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
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
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.
MATLAB files for Exercises Solving ODEs in MATLAB
series of exercises referenced in the videos using this set of downloadable MATLAB files.
Install the MinGW-w64 C/C++/Fortran compiler for Windows
C/C++/Fortran compiler. Installation Instructions:Select the button in the upper right-hand corner of this page. It might be labelled "Install" or "Download". "Install" button instructions: Select either the
Distance based interpolation along a general curve in space
A common request is to interpolate a set of points at fixed distances along some curve in space (2 or more dimensions.) The user typically has a set of points along a curve, some of which are closely
Polynomial modeling in 1 or n dimensions
-0.5 0.041667 -0.0013889so we got the expected result.Of course, polyfitn works in higher dimensions, as it was this problem it was really designed to solve.x = rand(100,1);y = rand(100,1);z =
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
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
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
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
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
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
Interactive courseware module that addresses common foundational-level concepts taught in signal processing courses.
# Convolution in Digital Signal Processing[![View on File
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
Fast renaming of files or folders
, Source is a folder and Dest is on another drive. Msg: CHAR, empty on success, some information in case of problems.COMPILE: The fast C-Mex file must be compiled before using. See FileRename.c for details
Loads a mat file into the caller's workspace, fixing invalid variable and field names.
loading variables into workspace DescriptionLOADFIXNAMES loads a mat file into the workspace, fixing invalid names. All invalid characters are replaced with an underscore. Also, if the first character is
Displays sprintf-formatted strings in the Command Window using the specified color/underline/bold style
displays the text in the Command Window using the specified STYLE argument. The accepted styles are those used for Matlab's syntax highlighting (see: File / Preferences / Colors / M-file Syntax Highlighting
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
Find and replace GUI for Simulink
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
Saves large numeric arrays more quickly than Matlab's built-in save command
larger files. It only improves speed for variables that are plain arrays; elements of structures or cell arrays are not altered.Example:% First make some data>> ops = struct('algorithm
Find vertex or (in)equality forms of convex polyhedra in R^n (for n not super large). Also, compute their intersections and unions.
This submission contains a set of files for analyzing N-dimensional convex polyhedra. It is intended for fairly low dimensions N -- basically low enough so that vertex and facet enumeration using
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
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
A toolbox to encode/decode JSON/UBJSON/MessagePack files in MATLAB/Octave
) to allow uploading json files to CouchDB serverThere have been many major updates added to this release since the previous release v2.0 in June 2020. A list of the major changes are summarized below
GIBBON: The Geometry and Image-Based Bioengineering add-ON for MATLAB