Search
Code Directory
 ASP
 ASP.NET
 C/C++
 CFML
 CGI/PERL
 Delphi
 Development
 Flash
 HTML
 Java
 JavaScript
 Pascal
 PHP
 Python
 SQL
 Tools
 Visual Basic & VB.NET
 XML
New Code
Uber for Massage 2.0
Job Board Software 1.1
RentALL - Airbnb Clone | Built with ReactJS 2.6
VB.Net PDF 2020.6.0
Flowrigami 1.0.0
SentiVeillance SDK Trial 7.3.2020.03.02
Entity Developer 6.8
dbExpress driver for SQLite 4.2
dbForge SQL Complete 6.5
Advanced Amazon Clone App 2.0
Appjetty Delivery Date Manager 1.0.0
The C# Barcode Library 2020.5.0
Chowtro - Online Restaurant Food Ordering Software 1.0
Alvas.Audio.Core 2019.0
Sainsburys Script 1.3.2
Top Code
dbForge SQL Complete 4.8
dbExpress Driver for SQLite 3.9
Availability Booking Calendar PHP 1.0
ATN Site Builder 3.0
ICPennyBid Penny Auction Script 4.0
Invoice Manager by PHPJabbers 3.0
ATN Resume Finder 2.0
PHP Review Script 1.0
Aglowsoft SQL Query Tools 8.2
Classified Ad Lister 1.0
Solid File System OS edition 5.1
Deals and Discounts Website Script 1.0.2
SentiVeillance SDK Trial 7.3.2020.03.02
Single Leg MLM 1.2.1
Azizi search engine script PHP 4.1.10
Top Rated
phpEnter 5.1.
Single Leg MLM 1.2.1
Azizi search engine script PHP 4.1.10
Paste phpSoftPro 1.4.1
Extreme Injector 3.7
Deals and Discounts Website Script 1.0.2
Solid File System OS edition 5.1
Classified Ad Lister 1.0
Aglowsoft SQL Query Tools 8.2
Invoice Manager by PHPJabbers 3.0
ICPennyBid Penny Auction Script 4.0
PHP Review Script 1.0
ATN Resume Finder 2.0
ATN Site Builder 3.0
Availability Booking Calendar PHP 1.0
Temporary (or anonymous) function handles for ML 6
File ID: 80563






Temporary (or anonymous) function handles for ML 6
Download Temporary (or anonymous) function handles for ML 6http://www.mathworks.comReport Error Link
License: Freeware
File Size: 10.0 KB
Downloads: 1
Submit Rating:
Temporary (or anonymous) function handles for ML 6 Description
Description: The anonymous function handle feature of ML 7 is a long-needed feature, and one that I have longed for since I began writing scripts in early ML 6.

Unfortunately, I am still forced to use ML 6 most of the time, so I came up with a way to create "psuedo-anonymous" function handles: that is, function handles to real m-file functions that are created on the spot and will be deleted in the near future.

TMP_HANDLE writes out a temporary function m-file in its private subdirectory and then returns a handle to it. As a side effect, it searches for old temporary function files and deletes them.

I have TMP_HANDLE set to delete temporary function m-files that are older than 30 days. The whole idea of cluttering up a subdirectory with little m-files is distasteful, but not really a big deal given modern disk sizes. I have chosen to live with it.

Next step:
Make TMP_HANDLE a class with overloaded feval and subsref so you can call
feval(t_hndl,x,y)
OR just
t_hndl(x,y)

Matlab 5 has feval and classes with overloading, so making tmp_handle a class should allow it to work with ML 5.

License: Freeware

Related: distasteful, sizes, modern, cluttering, tmp handle, themi, Delete, mfiles, older, chosen, itnext, overloading, Classes, Making

O/S:BSD, Linux, Solaris, Mac OS X

File Size: 10.0 KB

Downloads: 1



More Similar Code

Polygamma function of arbitrary order valid in the entire complex plane. This is a generalization of the Psi (or digamma) function. Useful for summing infinite series.



This function can extract a inner function from a class or a function.
It may be useful when writing a unit test code.



Slightly modified version of Coneplot function that uses the function quiver5 for better 3D arrows



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-files

the structure's field names are...



Compute the erf or error function for complex inputs. Valid over the entire complex plane.



A simple pseudo-class (using function handles and nested functions) representing a counter in an arbitrary base. Useful e.g. for enumerating numbers in certain base.

c = CounterInBase(3)
Creates a new counter with base 3 and...



Extension of the built-in MATLAB function hypot for multiple inputs.
MATLAB provides a function called hypot to calculate sqrt(abs(A).^2 + abs(B).^2) in a robust way to avoid underflow and overflow (see...



Meanwhile ffndgrid only return density or sum of value function ("f") for each bins, in this version can now specify easily (by changing or adding code in correct place) any function you want to apply to "f". Min or max value...



atoi64 - String to 64-bit integer number conversion (future: 128-bit), handles garbage at ends, ignores _ inside like perl, handles hexadecimal, decimal, octal, binary, and SI or IEC (computer units) for a suffix multiplier. perl,js,c++,php,auto-it3



Version 1.2 (JASP) 26-Jul-2009

This package is a set of tools that facilitate debugging or writing unit test for MATLAB functions.

disp_value - display the value of an expression
disp_test_title - display a test name

User Review for Temporary (or anonymous) function handles for ML
- required fields
     

Please enter text on the image