Subfunctions
FHook is a simple hooking system that allows to hook functions and subfunctions. The hooking technique here can be used also to write code in an AOP fashion.The hooking and the AOP are usefull SE (Software Engeneering) techniques that can be used to obtaion the separation of concerns in SW...
Platforms: Matlab
License: Freeware | Size: 10 KB | Download (45): FHook Download |
This zip-file contains two m-files that plot the lines of force a magnetic dipole filed. The files are useful for educational purposes and as illustrations of the Geocentric Axial Dipole Field of the Earth.Usage of the functions is simple.h = lforce2d(NumberOfLines, LineColr);h =...
Platforms: Matlab
License: Freeware | Size: 1.16 MB | Download (46): MagLforce Download |
HYPERSUBFUNHELP displays help of a file with expandable recursive subfunctions help HYPERSUBFUNHELP(MFILE) displays the help of MFILE with expandable help for each nested/sub functions that are preceeded by a line of comment containing the key expression '% Display Help' A set of links is...
Platforms: Matlab
License: Freeware | Size: 10 KB | Download (42): HyperSubFunHelp Download |
MKLIB takes one or more list(s) of valid M-files and automatically creates a library loader function (M-file), which returns a structure of function handles to all the subfunctions found in those M-filesthe structure's field names are set to the name of the subfunctionsthis allows a user to...
Platforms: Matlab
License: Freeware | Size: 10 KB | Download (47): mklib: a pedestrian function library loader generator Download |
This m-file is a modification of the 'save2word'. It's an example of how to automatically create MS Word documents from MATLAB with figures, tables, headers and text.The different basic functionalities to add text with different style and to add figures are broken into sub-functions that can be...
Platforms: Matlab
License: Freeware | Size: 10 KB | Download (47): WriteToWordFromMatlab Download |
This function implements a method of using genetic algorithms to optimise the form of a polynomial, i.e. reducing the number of terms required in comparison to a least-squares fit using all possible terms, as described in the following paper:Clegg, J. et al, "The use of a genetic algorithm to...
Platforms: Matlab
License: Freeware | Size: 30.72 KB | Download (45): gapolyfitn Download |
These functions read the comments from the m-function (or script) marks them up. It is based on Matlab's publish function.It is also possible to inculde examples and simple LaTeX formulas within the help text.To create the help file for a single Matlab function call:wg_publishTo create the help...
Platforms: Matlab
License: Freeware | Size: 112.64 KB | Download (48): Generate help files from m-files Download |
FARG parses an M-file (function or script) searching for function tags and lists their exact, literal syntax.in addition, FARG displays a wide variety of file statistics.currently, these functions are detected and listed- main function- subfunctions- nested functions- anonymous functions- eval...
Platforms: Matlab
License: Freeware | Size: 20.48 KB | Download (48): farg: a pedestrian M-file parser showing all used functions' syntax Download |
MatUnit is a unit testing framework for MATLAB. Much like it's Java counterpart JUnit, it allows the programmer to easily run many tests and report its results for MATLAB functions.-We want to be able to teach students how to test numerical software.- Many of them will have seen JUnit or similar...
Platforms: Matlab
License: Freeware | Size: 10 KB | Download (43): Unit testing tools Download |
UniqueFuncNames - Check uniqueness of function namesIf you install a large 3rd party toolbox, the file names may interfere with other installed toolboxes. This simple funtion compares the names of all M-, P- and Mex-files found in the Matlab path and displays non-unique names.P- and Mex-files...
Platforms: Matlab
License: Freeware | Size: 10 KB | Download (43): UniqueFuncNames Download |