File Exchange

image thumbnail

Matlab Shortcuts Creator

version (6.92 KB) by Olivier
This function enables you to generate shortcuts to open external files


Updated 20 Mar 2007

View License

This function generates shortcuts that enable you to launch files from the MATLAB® interface.

>> make_shortcuts
>> make_shortcuts(ext)
>> make_shortcuts(ext,subdir)
>> sc = make_shortcuts

make_shortcuts browse the directory where the function is stored look for
all PPT files under <subdirectory>\.

make_shortcuts(subdir) has the same behavior except that it will look for ext files under <subdirectory>.

make_shortcuts(ext,subdir) has the same behavior except that it will look for files under <subdirectory>\subdir that have the extension ext.

sc = make_shortcuts perform the same actions as the first syntax plus returns all the shortcuts codes for all directories.

How to use it?
Simply save the function file make_shortcuts.m in a directory that contains several directories with files under. Then call the function as shown above.

This function has been tested under R2006a, R2006b and R2007a.

Cite As

Olivier (2020). Matlab Shortcuts Creator (, MATLAB Central File Exchange. Retrieved .

Comments and Ratings (1)

Aurélien Queffurust

Just to let you know that this code also works in 8b Prerelease.

MATLAB Release Compatibility
Created with R2007a
Compatible with any release
Platform Compatibility
Windows macOS Linux