Main Content

1,203 results in File Exchange

Recursive DIR

Version 1.1.0.0 by Luc Masset

DIRREC finds files recursively in a given folder

Find files recursively in a given folder. C=dirrec('c:\windows') returns a cell C with the full pathname of all files in the c:\windows folder and all its sub-folders

- % Find files recursively in a given folder.
  • 3.4K (All time)
  • 1 (Last 30 days)
  • 5.0 / 5
  • Community
  • 15 Feb 2013

Search files recursively (DIR2)

Version 1.0.0.0 by Luc Masset

searches files in a given folder with several criteria

DIR2 searches recursively in a given folder and all its sub-folders for files matching various criteria (extension, date, size etc).It was useful for my own apps development for managing several file

- % DIR2 finds files recursively (or not) in a given folder. Available args are:
  • 1.3K (All time)
  • 2 (Last 30 days)
  • 5.0 / 5
  • Community
  • 17 Oct 2008

RECDIR

Version 1.1.0.0 by Eric Ogier

Recursive "DIR" function

"RECDIR" is a function dedicated to the recursive exploration of a target directory and the listing of the files found in its folder and subfolders The extensions of the files to list can be

- Recursive DIR function
  • 105 (All time)
  • 2 (Last 30 days)
  • 5.0 / 5
  • Community
  • 25 Apr 2016

subdir: a recursive file search

Version 1.1.0.0 by Kelly Kearney

Performs a recursive file search using same input and output format as dir function

This function performs a recursive file search. Its advantage over other FEX programs offering the same thing is that it uses the same input and output format as Matlab's dir function, and can

- Performs a recursive file search
  • 8.9K (All time)
  • 4 (Last 30 days)
  • 4.7 / 5
  • Community
  • 15 Dec 2014

Recursive Directory Searching for Multiple File Specs

Version 1.7.0.0 by Jonathan Sullivan

Searches a directory for multiple file specs with optional recursivity

recursive flag and the filters may be in any order. D = DIR2('directory_name') output the results in an M-by-1 structure with the fields: name -- Filename date -- Modification

- DIR2 List directory.
  • 1.5K (All time)
  • 1 (Last 30 days)
  • 4.8 / 5
  • Community
  • 20 Feb 2013

backup

Version 1.0.0.0 by Matt Becker

Recursively copies files from specified source dirs to dest dir.

This function will recursively copy all the files listed in the source directory to the destination directory. Before copying, this function looks at the modification dates of files that are named

  • 1.3K (All time)
  • 2 (Last 30 days)
  • 5.0 / 5
  • Community
  • 14 May 2003

dirPlus

Version 2.0.0.0 by Kenneth Eaton

dirPlus will recursively collect a list of files/folders from a folder tree.

?" Although written in MATLAB version R2016b, I believe this should work for older versions as well (full testing still required).dirPlus will recursively collect files/subdirectories within a folder that match

- dirPlus Recursively collect files or directories within a folder.
  • 1.4K (All time)
  • 3 (Last 30 days)
  • 4.8 / 5
  • Community
  • 21 Mar 2017

rdir_dos

Version 1.0.0.0 by Jaroslaw Tuszynski

Recursive directory listing using DOS DIR command

Recursive directory listing of ROOT directory using DOS "DIR /S" command. In most cases this function is not as nice and useful as regular RDIR functions, however in my experience RDIR breaks down

  • 618 (All time)
  • 1 (Last 30 days)
  • 4.0 / 5
  • Community
  • 25 Oct 2013

deploypcode(source_dir, target_dir, varargin)

Version 1.10.0.0 by Sven

DEPLOYPCODE recursively searches a directory for .m files, creating encrypted .p files with .m help

This entry is ideal for those who have a project they need to deploy to P-files, but they want to retain HELP contents for all of their deployed files.--DEPLOYPCODE recursively creates p-code

- DEPLOYPCODE recursively creates p-code versions of m-files in a given folder
  • 2K (All time)
  • 2 (Last 30 days)
  • 4.8 / 5
  • Community
  • 8 Jan 2015

Recursive addpath

Version 1.6.0.0 by Anthony Kendall

Recursively adds directories to MATLAB path, optionally ignores some

', recursively removing directories from the path. This capability can be very useful when working with multiple copies of a code repository, for instance. Also, I fixed a bug as mentioned by a reviewer that

- ADDPATH_RECURSE Adds (or removes) the specified directory and its subfolders
  • 4.4K (All time)
  • 2 (Last 30 days)
  • 4.4 / 5
  • Community
  • 4 Nov 2009

GO - Change directory (cd) easily

Version 1.1.0.0 by Luc Masset

Change directory by using a keyword (search folders matching the keyword)

- % DIR2 finds files recursively (or not) in a given folder. Available args are:
  • 234 (All time)
  • 1 (Last 30 days)
  • -- / 5
  • Community
  • 8 Mar 2012

recursiveDir(path)

Version 1.1.0.0 by Greg Holst

List all files in a directory recursively

This will list all of the files in a directory recursively. It is a simple, self-referencing function.

- add a second argument "level" if you want to keep track of how many
  • 75 (All time)
  • 1 (Last 30 days)
  • -- / 5
  • Community
  • 10 Jan 2018

Recursive directory listing - Enhanced RDIR

Version 1.5.0.0 by Thomas Vanaret

Files and directories listing, including recursive and other special features

Enhanced version of RDIR function, fixing some bugs and adding some features.- Basic use is similar to Matlab "dir" function, which allow you to list files and directories in a given path :

- RDIR - Recursive directory listing
  • 7.1K (All time)
  • 4 (Last 30 days)
  • 4.7 / 5
  • Community
  • 27 Jan 2014

DIRWALK - Walk the directory tree

Version 1.1.0.0 by Evgeny Pr

Generate the file names and dir names in a directory tree by walking the tree.

call "Visitor Function" for files processing.Using: [pathNames, dirNames, fileNames] = dirwalk(topPath) dirwalk(topPath, visitor) [visitorOutput1, visitorOutput2, ..., visitorOutputN] =

  • 1.6K (All time)
  • 2 (Last 30 days)
  • 4.8 / 5
  • Community
  • 10 Jul 2011

Recursive directory search

Version 1.2.0.0 by Mikko Leppänen

LS2 searches directories and shows directory listings recursively.

show last modified date/time [default: off] -o ORDER, --order=ORDER - order search by name, n, modified, m, size, s [default: name] -r, --recursive - recurse into subdirectories

  • 594 (All time)
  • 1 (Last 30 days)
  • 5.0 / 5
  • Community
  • 19 Feb 2013

DIRR (find files recursively filtering name, date or bytes)

Version 1.0.0.0 by Maximilien Chaumon

Lists files recursively filtering name date and/or size. Output can be set as name date and/or size.

DIRRLists all files in the current directory and sub directories recursively.[LIST] = DIRR(PATH)Returns a structure LIST with the same fieldnames as returned by LIST = DIR(PATH)PATH can contain

  • 9.8K (All time)
  • 1 (Last 30 days)
  • 4.2 / 5
  • Community
  • 15 Nov 2006

Recursive directory listing

Version 1.0.0.0 by Gus Brown

Directory listing with a difference, supports directory wildcards.

  • 12.5K (All time)
  • 1 (Last 30 days)
  • 4.8 / 5
  • Community
  • 14 Apr 2008

Oustaloup-Recursive-Approximation for Fractional Order Differentiators

Version 1.0.0.0 by YangQuan Chen

Oustaloup-Recursive-Approximation for fractional order differentiator.

% Filename: ora_foc.m% Oustaloup-Recursive-Approximation for fractional order differentiator% Input variables:% r: the fractional order as in s^r, r is a real number% N: order of the

  • 5.2K (All time)
  • 4 (Last 30 days)
  • 4.7 / 5
  • Community
  • 4 Aug 2003

FileSeries - Rename / renumber files, recursive directories

Version 1.2.0.0 by Frederic Moisy

Renaming and renumbering for series of files ; generalize the use of wildcards (*) for CD, LS ...

This directory contains a set of functions for recursive operations on files and folders (wildcards on subdirectories allowed), including automatic renaming and renumbering of series of files and

- RDIR Recursive list directory.
  • 7.6K (All time)
  • 1 (Last 30 days)
  • 4.5 / 5
  • Community
  • 2 Jun 2010

RECPERMS (Recursive Permutations)

Version 1.0.0.0 by Khaled Hamed

Produce permutations of the integers from 1 to n recursively one at a time.

. If RECPERMS(n,p) is called n!-1 times recursively (i.e feeding the output vector into the function for the next step) starting with p = 1:n, then the successive outputs span the same output from

  • 1K (All time)
  • 1 (Last 30 days)
  • 5.0 / 5
  • Community
  • 27 Nov 2006

Recursively search for files

Version 1.0.0.1 by Matt Tearle

Recursively finds all instances of files and folders with a naming pattern

- Recursively finds all instances of files and folders with a naming pattern
  • 499 (All time)
  • 2 (Last 30 days)
  • 5.0 / 5
  • Community
  • 1 Sep 2016

folderSizeTree

Version 1.0.0.0 by Yanai

Calculate total size of sub-folders recursively

- FOLDERSIZETREE - Calculate total size of sub-folders recursively
  • 855 (All time)
  • 1 (Last 30 days)
  • 5.0 / 5
  • Community
  • 1 Nov 2010

Recursively list files and folders

Version 1.0.4 by Eivind Hennestad

Recursively lists files and folders under the specified root path using options to filter results

the current directory combinedListing = recursiveDir(pwd());2) List all MATLAB (.m) files under the current directorycombinedListing = recursiveDir(pwd(), "FileType", ".m");3) List all folders under the

- Recursively lists files and folders under the specified root path.
  • 44 (All time)
  • 2 (Last 30 days)
  • -- / 5
  • Community
  • 16 Jul 2026

Inverse dynamics with recursive Newton-Euler

Version 1.0.0.0 by Auralius Manurung

Inverse dynamics with recursive Newton-Euler of an open kinematic chain and standard DH-parameters

Inverse dynamics with recursive Newton-Euler of an open kinematic chain described with standard DH-parametersOptional:Robot toolbox is used for comparison: http://www.petercorke.com/RTB/Download and

  • 1.4K (All time)
  • 3 (Last 30 days)
  • 5.0 / 5
  • Community
  • 6 Nov 2021

recursdir(baseDir,searchExpression)

Version 1.0.0.0 by Jason

A recursive search to find files that match the search expression

A recursive search to find files that match the search expression (regular expression). It will walk a directory tree to find files and output them with full path name as a cell.

- OUTFILES = RECURSDIR(BASEDIRECTORY,SEARCHEXPRESSION)
  • 47 (All time)
  • 1 (Last 30 days)
  • -- / 5
  • Community
  • 6 Apr 2016

Another recursive find file

Version 1.0.0.0 by Azim

A recursive search for files with path name matching a wildcard or regular expression pattern.

Function searches a path recursively for file names matching either a wildcard expression (for example 'images*.*') or a regular expression (for example 'images[0-9].*\.*'). The function returns a

- FUNCTION files = RECURSIVEFINDFILE(searchPath,filePattern)
  • 474 (All time)
  • 1 (Last 30 days)
  • 5.0 / 5
  • Community
  • 27 Jan 2012

uncover the call structure of a recursive function call

Version 1.0.0 by Thomas

recurse(tree) helps to uncover the call structure of a recursive function call.

The recursive function to examine shall be y = f(x) , then the first call of f must be modified to: [y,tree] = f( x , recurse() ). When f recursively calls itself use: y = f( x, recurse(tree) )The

  • 16 (All time)
  • 1 (Last 30 days)
  • 5.0 / 5
  • Community
  • 11 Jul 2020

extractCrashLogs(nDays,logDir)

Version 1.0.0.1 by Cesar Rivadeneyra

Easily extract crash logs generated by MATLAB

- function extractCrashLogs(nDays,logDir)
  • 4.1K (All time)
  • 5 (Last 30 days)
  • 3.7 / 5
  • Community
  • 1 Sep 2016

Get structure field names in recursive manner

Version 1.0.0.0 by Adam

Returns the field names of a structure, include the field names of any "sub-structures".

- FIELDNAMESR Get structure field names in recursive manner.
  • 2.5K (All time)
  • 1 (Last 30 days)
  • 4.8 / 5
  • Community
  • 13 Oct 2011

Sum the digits of a number recursively

Version 1.0.0 by Saptarshi Neogi

This Matlab code finds the sum of the digits of a number recursively without using any inbuilt functions.

This Matlab code finds the sum of the digits of a number recursively without using any inbuilt functions.

  • 39 (All time)
  • 1 (Last 30 days)
  • 5.0 / 5
  • Community
  • 30 Aug 2020

dir2spsh

Version 1.0.0.0 by Eric LePage

Output filenames to a spreadsheet.

file which can be picked up by an editor or spreadsheet, for a more efficient method of keeping track of files versions, date generated, for file/project management. This recursive function allows

  • 1.6K (All time)
  • 1 (Last 30 days)
  • 5.0 / 5
  • Community
  • 9 Feb 2002

Recursively check fields of a structure exist

Version 1.1.0.0 by Matthew Arthington

Check fields of a structure exist at any depth. Can also check multiple field branches at any depth.

A.b.c = 2; to be checked as:isfieldRecursive(A,'b','c')ans = 1Which would return false if either b is not a field of A or c is not a field of a.bThe other functionality of this function is that the

- allFieldsExist = isfieldRecursive(myStructure,'fieldOfTopLevel','fieldOfFirstField','FieldOfThatNextField')
  • 678 (All time)
  • 1 (Last 30 days)
  • 5.0 / 5
  • Community
  • 22 Jul 2010

getfilenames.m

Version 1.4.0.0 by Joseph Burgel

Do a recursive search for files.

  • 3.9K (All time)
  • 3 (Last 30 days)
  • 4.7 / 5
  • Community
  • 28 May 2009

Recursive Approximate Solution to Matrix Diff. Riccati Eq.

Version 1.0.0 by Saeed Rafee Nekoo

These codes present a recursive approximate solution based on Taylor series expansion to time-varying matrix differential Riccati equation.

examples were solved in the following paper with details and explanations:S. R. Nekoo and M. Irani Rahaghi, "Recursive approximate solution to time-varying matrix differential Riccati equation: Linear and

  • 127 (All time)
  • 1 (Last 30 days)
  • 5.0 / 5
  • Community
  • 20 May 2020

recursive mlint

Version 1.0.0.1 by Christophe Pouillot

mlintall launches the M-Lint Code Checker on a directory and its sub directories.

- MLINTALL: recursively launches M-Lint Code Check Report on directory and
  • 632 (All time)
  • 1 (Last 30 days)
  • 5.0 / 5
  • Community
  • 1 Sep 2016

Recursively get file-dependencies of a given function

Version 1.0.0.0 by Torsten Hopp

This function searches recursively for all files dependent to a given function (excluding matlabroo

getFileDependencies('funcName') recursively calls the MATLAB-function 'depfun' to find the files dependent to the given function. It filters out all dependendies on files from matlabroot. The

  • 2.6K (All time)
  • 2 (Last 30 days)
  • 4.9 / 5
  • Community
  • 3 Jul 2007

PRINTSTRUCT | Recursively print structures to the command window or a cell char array

Version 1.0.0.0 by Bob Spunt

Recursively print/display hierarchical outline of structure contents

Recursively print hierarchical outline of structure contents. This is a minor adaptation of the File Exchange contribution "Structure outline" written by B. Roossien. Changes include:- automatic

- Recursively print hierarchical outline of structure contents
  • 1.2K (All time)
  • 2 (Last 30 days)
  • 5.0 / 5
  • Community
  • 28 Dec 2022

Practical Recursive Least Squares

Version 1.0.3 by David

personal practical compendium to my theory notes here: https://zenodo.org/records/17639810 DOI https://doi.org/10.5281/zenodo.17639810

A quick reference looking at :basic implementation of Batch Weighted Least SquaresRecursive Least SquaresRecursive Least Squares with forgetting factor

  • 10 (All time)
  • 1 (Last 30 days)
  • 5.0 / 5
  • Community
  • 24 Nov 2025

Recursive Least Squares Filter

Version 1.4.0.0 by Ryan Fuller

Implementation of RLS filter for noise reduction.

  • 4.5K (All time)
  • 2 (Last 30 days)
  • 4.3 / 5
  • Community
  • 20 Jun 2012

Hirarchical fuzzy identification using gradient descen and recursive least square method

Version 1.0.0.0 by mojtaba Ahmadieh Khanesar

Hirarchical fuzzy identification using gradient descen and recursive least square method

This is the source code for my paper:Fallah, Zeinab, Mojtaba Ahmadieh Khanesar, and Mohammad Teshnehlab. "Hierarchical Fuzzy identification using gradient descent and recursive least square method

  • 614 (All time)
  • 1 (Last 30 days)
  • 5.0 / 5
  • Community
  • 3 Jan 2014

stringdir

Version 1.0 by FannoFlow

The stringified version of dir

returns string outputs of dir()

- Returns the string output of dir
  • 3 (All time)
  • 1 (Last 30 days)
  • 5.0 / 5
  • Community
  • 22 Dec 2020

DEPFUN_TO_DIR - Advanced Project Files Creator

Version 1.0.0.0 by Lior Cohen

DEPFUN_TO_DIR creates a directory with all your project files including .fig, .mat, .txt and .xls.

directory that contains all these project files for compilation, backup or sending to someone.DEPFUN_TO_DIR will make it easy.Just give this function the main m file and it will do the rest, and even create a

- Helper function to prepare a directory with all the required files (sources) for
  • 377 (All time)
  • 1 (Last 30 days)
  • 5.0 / 5
  • Community
  • 28 Nov 2009

Dynamic Recursive Point Pattern Matching Algorithm for CBIR

Version 1.1.0.5 by Caglar Arslan

This program recognizes the Hand Gestures of American Sign Language. Previously, it was vastly used for Hand Gesture Recognition projects.

This dynamic recursive algorithm is designed for Content Based Image Retrieval and Generic Object Recognition systems.MK-RoD stands for Matched Keypoints' Ratio of Distances and it is a recursive and

  • 11K (All time)
  • 2 (Last 30 days)
  • 4.9 / 5
  • Community
  • 4 May 2020

SUBDIR *new*

Version 1.0.0.0 by Elmar Tarajan

Recursively search for files and/or directorys under given folder without using of global variables.

- SUBDIR lists (recursive) all subfolders and files under given folder
  • 7.3K (All time)
  • 1 (Last 30 days)
  • 4.9 / 5
  • Community
  • 7 Dec 2004

Recursive tesselation

Version 1.0.0.0 by Daniel Lau

Produces a 2-D array by means of rec. tesselation.

  • 871 (All time)
  • 1 (Last 30 days)
  • 4.0 / 5
  • Community
  • 20 Jan 2009

Recursive Bayesian Estimator

Version 1.0.3 by Ayad Al-Rumaithi

Recursive Bayesian estimator for any distribution with example

, Var_x]=Recursive_Bayesian(x,p_x)Inputx: range of x equally spaced vector of size (1*N)p_x: probability density matrix of size (n*N) where p_x(i,:) is the probability density function of the ith observationOutputp_x_condition: Conditional

  • 374 (All time)
  • 1 (Last 30 days)
  • 4.0 / 5
  • Community
  • 16 Sep 2024

Dir with Cell Output and Options

Version 1.0.0.0 by Skynet

Directory listing with cell output and optional filter, sort, and group arguments.

DIRC(DIR_NAME) uses the DIR function to return the directory listing of directory DIR_NAME, with usage of optional arguments, and with the following differences in output:- The output is in a 'cell

  • 2.6K (All time)
  • 1 (Last 30 days)
  • 5.0 / 5
  • Community
  • 10 Jun 2005

Landing Gear Model in Simscape

Version 1.1.0.1 by Steve Miller

Landing gear model, including main and lock hydraulic actuators, and multibody dynamics

- CLEANUP RT TEST DIR
  • 2.8K (All time)
  • 11 (Last 30 days)
  • 4.8 / 5
  • Community
  • 1 Sep 2016

DirSize

Version 1.1.0.0 by Richard Moore

Determine the size of a folder/directory in bytes, including all subdirectories.

bytes = DirSize('pathOfInterest');Sometimes I write a script that needs to know how large directories are. I couldn't find a function to already do this, so took a stab at it.

- DirSize Determine the size of a directory in bytes.
  • 672 (All time)
  • 1 (Last 30 days)
  • 5.0 / 5
  • Community
  • 18 Apr 2013

baseflow filter using the recursive digital filter technique

Version 1.0.0.0 by Lei Qiao

baseflow separation from the river gauge measured streamflow

% This is a matlab version of Baseflow filter% Based on Recursive digital filter techniques% references:% -J.G. Arnold and P.M Allen. Automated methods for estimating baseflow and groundwater

  • 374 (All time)
  • 1 (Last 30 days)
  • 5.0 / 5
  • Community
  • 3 Aug 2016

Compare Nested Cell & Struct Arrays Recursively

Version 1.0.0.1 by Ameya Deoras

Compare two cell or struct arrays and find exactly where they differ

are compared recursively. Feature summary:* Support for nested structures/cell arrays* Return of full stack information on where the two cells/structs differ* Control for comparison of Function handles

  • 1.6K (All time)
  • 1 (Last 30 days)
  • 5.0 / 5
  • Community
  • 1 Sep 2016

Recursive Integer Guessing Game

Version 1.0.0.0 by Adam Gripton

A recursive algorithm that queries an objective function to guess an unknown integer.

  • 249 (All time)
  • 2 (Last 30 days)
  • 4.0 / 5
  • Community
  • 21 Mar 2012

VirtualArena

Version 3.0.1 by Andrea Alessandretti

IDE for Control Design and System Simulation

  • 1.4K (All time)
  • 4 (Last 30 days)
  • 5.0 / 5
  • Community
  • 16 Jul 2024

whats

Version 1.0.0.0 by Matt Fig

Duplicates the output of Matlab function WHAT, with clickable links.

- WHATS(DIR) Lists Matlab files in directory DIR, with hypertext.
  • 3.1K (All time)
  • 2 (Last 30 days)
  • 5.0 / 5
  • Community
  • 16 Jul 2008

addContainingDirAndSubDir()

Version 1.0.0.0 by benjamin rinauto

Adds the containing folder of the function and all subfolders to the path

  • 329 (All time)
  • 2 (Last 30 days)
  • 4.7 / 5
  • Community
  • 18 Oct 2016

deprecated -- Light Field Toolbox v0.2 -- v0.3 now available

Version 1.5.0.0 by Donald Dansereau

A set of tools for working with light field (aka plenoptic) imagery in Matlab

- LFFindFilesRecursive - Recursively searches a folder for files matching a pattern
  • 4.5K (All time)
  • 1 (Last 30 days)
  • 5.0 / 5
  • Community
  • 27 Nov 2014

slocDir

Version 1.1.0.0 by David Roberts

Counts number source lines of code in a directory tree. (Requires sloc, FIle Exchange ID 3900)

  • 4.3K (All time)
  • 3 (Last 30 days)
  • 4.4 / 5
  • Community
  • 22 Jul 2009

new_dir.m

Version 1.5.0.0 by Stephan Koehler

This is an enhancement to MATLAB's dir function, for dealing with sequentially numbered files.

. In addition to the fields of dir, it also returns a path field and a number field. It also allows for executing functions whose input is a filename. Examples are open, delete, ...Type help new_dir to

- new_dir extends MATLAB's dir, includes filtering options and executables
  • 699 (All time)
  • 1 (Last 30 days)
  • 4.0 / 5
  • Community
  • 23 Nov 2009

RIM: A Matlab Software Tool for Recursive Identification Methods

Version 1.0 by Aissa Rebai

RIM: A Matlab Software Tool for Recursive Identification Methods

What is RIM?The Recursive Identification Methods (RIM) is a MATLAB GUI which allows to user to make his simulations without passing by the programming of the various Techniques. This interface is

  • 267 (All time)
  • 1 (Last 30 days)
  • 4.0 / 5
  • Community
  • 7 Sep 2017

mfiles/matfiles/figfiles

Version 1.0.0.0 by Matt Fig

Contains three functions for displaying different files with links.

- MATFILES(DIR) Lists the Matlab MAT-Files in directory DIR, with hypertext.
- MFILES(DIR) Lists the Matlab M-Files in directory DIR, with hypertext.
- FIGFILES(DIR) Lists the Matlab FIG-Files in directory DIR, with hypertext.
  • 2.3K (All time)
  • 1 (Last 30 days)
  • 5.0 / 5
  • Community
  • 22 Jul 2008

Load more