% LS_MOD shows directory listings. It is rather like the dir command in
% Windows or ls command in Unix.
%
% LS_MOD is a GUI-based program which allows you to perform different
% kinds of listings or searches.
%
% Define a path for directory listing (text field below the title Insert
% Path:). You can either manually define a path or just use the browse
% button. Press the execute button to start the listing (or search) and
% when you are done, close the gui by pressing the close button.
%
% In order to add a few rules for listing(or search), inside the preferences
% panel you are able to specify some options (see below).
%
% A List of GUI preferences:
% Show Hidden Files (checkbox, default off)
% List Subdirectories Recursively (checkbox, default off)
% Show Sizes (checkbox, default off)
% Show Last Modified Date (checkbox, default off)
% Search Field (text field, default none):
% Inside the text field (reads Type search text...) you can
% define words or parts of words you would like to be searched.
% When searching a particular file(s), you can define a search
% text in a form of str*, *str and str. Where str is a string
% which will be contained in a file's name.
% It's possible to use the wildcard character "*" at the end of a
% string or at the beginning of a string. If the asterisk operator
% is used at the end of string, a file name is assumed to start
% with a specified string. Consistently, if the asterisk operator
% is used at the beginning of a string, a file name is assumed
% to end with a specified string. On the other hand a mere string
% without the asterisk operator is searched throughout the file
% name. The search is done based on case-insensitivity.
% All the matched files will be highlighted in red.
% You can clear the text field by pressing the right-mouse button
% inside the field if there is a text Type search text...
% Order by name, last modified date or size (popupmenu, default name)
% Define file size for filtering(text field, default none):
% All the files less than a specified size will be filtered.
% You can reverse the filtering direction by changing the .LT. value
% to .GT.(popupmenu). In this case the program will filter all
% the files larger than a specified value.
% Define date for filtering (text field, default none):
% You can either specify the date manually or press the Select a
% single date button which opens the uicalendar tool. In case you
% prefer to give the date directly to the field the format must be
% dd.mm.yyyy. Like in the size filtering mode, you can also reverse
% the filtering direction by changing the .LT. value to .GT.
Cite As
Mikko Leppänen (2025). ls_mod (https://www.mathworks.com/matlabcentral/fileexchange/32993-ls_mod), MATLAB Central File Exchange. Retrieved .
MATLAB Release Compatibility
Platform Compatibility
Windows macOS LinuxCategories
Tags
Acknowledgements
Inspired: Recursive directory search
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!Discover Live Editor
Create scripts with code, output, and formatted text in a single executable document.