image thumbnail

updated 1 month ago

BetterHelp by Michael Ryan

Improves Matlab's help functionality for functions that do not have their own help files. (undocumented, help, programming)

help2html(topic,pagetitle,helpCommandOption)

help2html(topic,pagetitle,helpCommandOption)

myHelpUtils.atomicHelpPart

image thumbnail

updated 1 month ago

Save and load Matlab "projects" in editor by Kevin Bartlett

Saves and loads Matlab "projects" in editor (currently-open files, working directory, search path). (editor, project, programming)

matproj(varargin)

image thumbnail

updated 3 months ago

export_fig by Oliver Woodford

Exports figures nicely to a number of vector & bitmap formats. (anti alias, figure, embed)

copyfig(fh)

eps2pdf(source, dest, crop, append, gray, quality)

export_fig(varargin)

image thumbnail

updated 4 months ago

Keyboard replacement with stack trace by Romesh

Display a stack trace showing where keyboard was used (keyboard, debugging, stack trace)

kdb

image thumbnail

updated 4 months ago

Option parser by Peter Corke

A generalized option parser for Toolbox functions (command line, argument parsing)

optparse(in, argv)

image thumbnail

updated 10 months ago

deploypcode - recursively pcode files with help attached by Sven

DEPLOYPCODE recursively searches a directory for .m files, creating encrypted .p files with .m help (pcode, help, utility)

deploypcode(source_dir, target_dir, varargin)

image thumbnail

updated 11 months ago

tweet from matlab by Clemens

My take on tweeting from matlab command line. (twitter, command line, proxy)

tweet(message)

image thumbnail

updated 1 year ago

Save Workspace to Struct by Andres

This function allows to save all the variables from the current workspace into a struct array (save, struct, base)

WStruct=ws2struct()

image thumbnail

updated 1 year ago

attach by Jeremy Manning

Assign fields of structure to variables in the current workspace. (eval, attach, assignin)

attach(s)

image thumbnail

updated 1 year ago

Sudoku by Stepen Sahrun

This code generates a random Sudoku puzzle or solves any given Sudoku puzzle. (game, sudoku, help)

result=SudokuSolver(problem)

Sudoku

image thumbnail

updated 1 year ago

putvar, uigetvar by John D'Errico

Move (get or put) variable(s) directly between a function workspace and the base workspace (variable, assign, assignin)

putvar(varargin)

uigetvar(variableclass)

image thumbnail

updated 1 year ago

Warning message for debugging/development by Kevin Bartlett

Issues warning that code has been changed temporarily for debugging/development purposes. (debugging, development, development environme...)

dbwarn(varargin)

image thumbnail

updated 1 year ago

Dict Search from Text File by Konark Kelaiya

This function reads a line from text file & generate all possible combination of words (com, doc, dictionary)

dictsearch()

image thumbnail

updated 1 year ago

log4matlab by Gavin

Simple logger written with log4cxx in mind (logging to file, logger, log4cxx)

(Sealed) SingleInstance

Namespace.TestClass1

TestClass1

image thumbnail

updated 1 year ago

extracthelp by Andrey Popov

Extract the help information of all M function in a folder (p code, pcode, extract)

extracthelp(nocopyright)

image thumbnail

updated 2 years ago

Minor Time Step Logging by Guy Rouleau

Demonstration showing how to log data computed by the SimulinkĀ® solver at minor time steps. (simulink, simulation, debugging)

LogMinorTimeStep(block)

slblocks

MinorStepLib

image thumbnail

updated 2 years ago

reed solomon code by ahmed shehab

everything about RS generation and generation polynomial and encoding and syndrome (communications, help)

A=add(a,b,Y);

E=encoder(I,G,Y);

G=GP(E,Y)

image thumbnail

updated 2 years ago

simlog by Robin Larsson

GUI to enable easy logging of multiple signals in Simulink. Log a complete subsystem with one click. (debugging, gui, simulation)

simlog.m

image thumbnail

updated 2 years ago

Function using GOOGLE translate to translate HELP's of commands by mustafa a

%The purpose of this code is to use GOOGLE translate to %translate help of a command in MATLAB (google translate, java, google)

helptr(command_string)

image thumbnail

updated 2 years ago

t_debug by Ronni Grapenthin

These functions allow for textual debug mode. Hence, debug statements can stay with your code. (debug, debugging, development)

print_debug(the_text, level)

t_debug(mode)

t_debug_test.m

image thumbnail

updated 2 years ago

LOOK4 by Jiro Doke

LOOKFOR substitute that uses a database for quick searching of MATLABĀ® files. (path, directories, files)

look4(varargin)

image thumbnail

updated almost 3 years ago

Using the Simulink Debugger (Example 2) by Dan Lluch

Explores using the Simulink Debugger to extract information. (simulink, debugger, solver)

getstrace(mdl,vargin)

parsestrace(filename)

example2.m

image thumbnail

updated 3 years ago

parTicToc by Sarah Wait Zaranek

This is a utility for timing PARFOR loops. (parfor, profiler, parallel)

sweepExample()

PAR TIC-TOC

Par

image thumbnail

updated 3 years ago

Using patch() and rotate() - Basics by Husam Aldahiyat

Powerpoint slides on the basic usage of the patch() and rotate() functions. Includes 13 Examples. (animation, water, slides)

slide12

slide15

slide17

image thumbnail

updated 3 years ago

uhelp by paul koch

display a function's HELP or a CELL array in text window (gui, guitools, help)

uhelp.m

image thumbnail

updated 3 years ago

Display ws variables size in KB, MB or GB by Oleg Komarov

Displays with appropriate unit of data storage. Sorting by size/name (non c.sensitive) is supported. (size, storage, bytes)

wssize(varargin)

image thumbnail

updated 3 years ago

41 Complete GUI Examples by Matt Fig

41 working GUIs to read and learn. (example, gui, examples)

GUI_1()

GUI_10()

GUI_11()

image thumbnail

updated 3 years ago

STR2VAR by Thomas

Returns the variable or array of variables, VAR, matching the pattern STR. (workspace)

str2var(str)

image thumbnail

updated 3 years ago

Bias Field Corrected Fuzzy C-Means by Dirk-Jan Kroon

Estimates the illumination artifact in 2D (color) and 3D CT and MRI and segments into classes. (bias field estimation, illumination, segmentation)

I=imgaussian(I,sigma,siz)

[B,U]=BCFCM2D(Y,v,Options)

BCFCM3D.m

image thumbnail

updated 3 years ago

Learn Basic Plotting Principles by Husam Aldahiyat

Powerpoint Slides on the fundamentals of plotting and using the function line() with animation. (gui, example, graphical)

slide25

slide39

slide47

image thumbnail

updated almost 4 years ago

Clear All But by Roland Pfister

Clear the workspace while keeping some of your variables. (tool, clear variables, keep variables)

clear_all_but(varargin)

image thumbnail

updated almost 4 years ago

save_to_base.m by Phillip M. Feldman

copies variables from the workspace of the calling function to the base workspace (base workspace, debugging, save variables)

save_to_base(overwrite)

image thumbnail

updated almost 4 years ago

func2func.m v1.0 (Jul 2009) by Carlos Adrian Vargas Aguilera

Updates anonymous function workspace. Workaround of STR2FUNC(FUNC2STR(f)) problem. (str2func, func2str, function handle)

func2func(F,varargin)

image thumbnail

updated almost 4 years ago

Test Tools - Utilities for unit tests by Jay St. Pierre

Tools that facilitate debugging or writing unit test for MATLAB functions. (development environme..., tools, test)

[t1,t2]=time(command)

[t1,t2]=timesim(model)

disp_num_failures(test_object, num_failures)

image thumbnail

updated almost 4 years ago

Solution to Project Euler Problem 54 by Husam Aldahiyat

How many hands did player one win in the game of poker? (poker, text, function)

euler54

findv(c)

get_fourv(C)

image thumbnail

updated almost 4 years ago

Text input with default by Karl

Like Matlab's "input" function, but with a default that you can select by simply hitting Enter. (input, default, command line)

dinput(varargin)

image thumbnail

updated 4 years ago

mgui by Norbert Marwan

MGUI bunchs your often used functions in order to simplify your work with data analysis in MATLAB. (path, directories, files)

install.m

image thumbnail

updated 4 years ago

ezgraph by Matt Fig

Performs basic formatting of a plot with a single GUI. (annotation, customization, easy)

ezgraph(varargin)

image thumbnail

updated 4 years ago

find lines of code which are not suppressed (no semicolon at end) by Ueli Rutishauser

Finds code that generates output in the command window due to a missing semicolon (non-suppressed) (mlint, profile, output window)

findNonSuppressedOutput( p, considerPath )

image thumbnail

updated 4 years ago

Map fields of a structure to output variables by Hoi Wong

The program assigns each field of a structure into output arguments. (variables, struct, varargout)

varargout=struct2vars(S)

image thumbnail

updated 4 years ago

Environment Capture by David Weinstein

Capture the environment (or scope, maybe even call it a closure) of the function caller. (closure, environment, scope)

env_capture(varargin)

image thumbnail

updated 4 years ago

Generate report of .m files in html table by Theodoros Giannakopoulos

Generates a report of the m-files in a given directory. Results are stored in an html file. (matlab documentation, misc, help)

createHtmlReport(dirName)

image thumbnail

updated 4 years ago

Cam Simulator by Husam Aldahiyat

Given a set of motion programs this interface plots the cam profile and rotates it. (cam, cams, gui)

cams(varargin)

image thumbnail

updated 4 years ago

Compare 6 different algorithms to calculate the mandelbrot set by Dr. Jens Koopmann

Compares five different algorithms to calculate the Mandelbrot Set (image processing, mandelbrot fractals, demo)

mandel_fast

image thumbnail

updated 4 years ago

Oblique Strategies by Michael

Displays a card of the Oblique Strategy Deck of Brian Eno and Peter Schmidt (games, oblique strategies, help)

oblique

image thumbnail

updated almost 5 years ago

whom/whoms by Matt Fig

Similar to WHO/WHOS, but allows user to click-to-clear. (workspace, clear, delete)

whom()

whoms()

image thumbnail

updated 5 years ago

savebut by Stefano Pantaleoni

Saves in a file file all the workspace's variables except for the undesired (path, directories, files)

savebut(varargin)

image thumbnail

updated 5 years ago

Get function's help infomation saved into a single file by Bo

Saves the help information of functions into a single file. This is sometimes useful when exploring (path, directories, files)

GetFunInfo(OutFile,Functions)

image thumbnail

updated 6 years ago

struct2ws by Maximilien Chaumon

Throws selected fields of a scalar structure in the current workspace. (structures, cell arrays, workspace)

struct2ws(s,varargin)

image thumbnail

updated 6 years ago

ws2struct by Maximilien Chaumon

Stores current workspace in a structure array. (structures, cell arrays, workspace)

ws2struct(varargin)

Contact us