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
HTMLPad 2018 15.5
WeBuilder 2018 15.5
SentiMask SDK Trial 2.0.0
Track Order For Magento 2 1.0.0
Calendar 365 For Dynamics CRM 4.0
Scimbo 1.2
Odoo Furnito Theme 1.0
.Net Assemblies/WSDL Import Utility for Delphi 6.0.4.0
Devart Excel Add-in for Zendesk 1.7
Excel Add-in for Marketo 1.7
GetOrgChart 2.5.3
AnyGantt JS Gantt Charts 8.6.0
AnyChart JS Charts and Dashboards 8.6.0
Multi Vendor Ecommerce Script & Apps 4.0
Magento 2 Inventory Management Extension 1.0
Top Code
MCU 8051 IDE 1.4.7
HTMLPad 2018 15.5
BedRock IDE 1.0
Email Grabber
jQuery Slider Ken Burns 1.0
Guest Book V. 2 V2
XML Products Showcase Slider 1.0
ActivePerl 5.8.4.810/5.6.1.638
Azizi search engine script PHP 4.1.10
Adaptive multi-focus image fusion using a wavelet-based statistical sharpness measure 1.0
STDF file reader 1.0
Hotel Management - Full Board Version 6.55
The Karma Language 1.0
jQuery Accordion Photo Gallery 1.0
RLS Algorithm Demo 1.0
Top Rated
VisualNEO Web 2018.12.15
Paste phpSoftPro 1.4.1
Extreme Injector 3.7
Deals and Discounts Website Script 1.0.2
ADO.NET Provider for ExactTarget 1.0
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
PHP GZ Blog Script 1.1
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