Download Shareware and Freeware Software for Windows, Linux, Macintosh, PDA

line Home  |  About Us  |  Link To Us  |  FAQ  |  Contact

Serving Software Downloads in 956 Categories, Downloaded 50.212.702 Times

mxGetPropertyPtr C-mex function 1.0

  Date Added: April 20, 2013  |  Visits: 196

mxGetPropertyPtr C-mex function

Report Broken Link
Printer Friendly Version


Product Homepage
Download (44 downloads)



When The MathworksdlT« introduced MATLABdlT« version R2008a they included a new object oriented format called classdef. This addition greatly expanded the object oriented capabilities of MATLABdlT« at the m-file level. There were also two new mex API functions introduced at that same time: mxGetProperty and mxSetProperty. Unfortunately, both of these functions work with copies of the properties and not the actual properties themselves. So whereas the old-style class variables can easily and efficiently be accessed with the mex API functions mxGetField, mxGetFieldByNumber, mxSetField, and mxSetFieldByNumber since they use pointers to the original properties, there were no equivalent mex API functions provided for the newer classdef classes. This presents a problem for the mex programmer, particularly if the properties in question are large. Using mxGetProperty will significantly slow the routine down and also risk using up valuable heap memory. The same is true for mxSetProperty.The new mxGetPropertyPtr C-mex function provided in this package solves half of the problem. It returns a pointer to the original property rather than a pointer to a copy of the property. Thus the property can be accessed efficiently inside a mex routine. The other half of the problem, providing an efficient replacement for mxSetProperty, is in work and will likely be included with the next release of this package.

Requirements: No special requirements
Platforms: Matlab
Keyword: Classes Large Presents Problem Programmer Question Routine Significantly
Users rating: 0/10

License: Shareware Size: 40.96 KB
USER REVIEWS
More Reviews or Write Review


MXGETPROPERTYPTR C-MEX FUNCTION RELATED
Development Tools  -  Histogram-based class separability measure 1.0
The provided functions demonstrate a histogram-based measure for class separability, given the samples from two classes (binary classification problem). The proposed error classification estimation method is described in (B) and it is based on...
30.72 KB  
Modules  -  Views Litepager 6.x-2.1
Note: This version currently only works with version 2.x of ViewsThe Views Litepager module solves a problem of scalability for sites with large amounts of content. Drupal's core pagination system creates a pager navigation that shows exactly how...
10 KB  
Graphics Editors  -  Photology 1.0.106
Can+t find that photo from your holidays in Cairo in your PC? No problem; your hard drive, though large, presents no obstacle for Photology. Remember the saying "a needle in a haystack?" this is perfect for this program, which makes your photos...
6 KB  
Utilities  -  cpp xstream 0.0.3
cpp xstream is a C++ flexible stream library. cpp xstream is a collection of several streambuf and iostream classes that allow a programmer to compress and decompress data transparently with gzip or bzip2, to serialize composite types to xdr, to...
112.64 KB  
Libraries  -  PDL::Image2D 2.4.3
PDL::Image2D is a Perl module that contains miscellaneous 2D image processing functions. For large kernels, using a FFT routine, such as fftconvolve() in PDL::FFT, will be quicker. $new = conv2d $old, $kernel, {OPTIONS} $smoothed = conv2d...
2.1 MB  
Development Editors  -  GBL Design Studio 2.0.15.233
GBL Design Studio 2.0 provides facilities for implementing virtual and real-time event-driven architectural designs. It can be used for building system-level behavioral or cycle accurate event-driven simulators and verification suites, like...
3 MB  
Business  -  Sort Text File Lines By Alphabet, Number, Character, Position & Length Software 7.0
Sobolsoft offers a unique solution to text management. Now you can sort the contents of files in many different ways. Sort: by length or position; by referencing surrounding characters; by only alpha, numeric, alpha-numeric or non-alpha-numeric...
346 KB  
Development Tools  -  Information loss of the Mahalanobis distance in high dimensions: Matlab implementation 1.0
The Mahalanobis distance between a pattern measurement vector of dimensionality D and the center of the class it belongs to is distributed as a chi^2 with D degrees of freedom, when an infinite training set is used. However, the distribution of...
10 KB  
Modules  -  Tests to Identify Outliers in Data Series 1.0
There are several definitions for outliers. One of the more widely accepted interpretations on outliers comes from Barnett and Lewis, which defines outlier as d-deDUan observation (or subset of observations) which appears to be inconsistent with...
245.76 KB  
Development Tools  -  Knapsack problem 1.0
The knapsack problem or rucksack problem is a problem in combinatorial optimization: Given a set of items, each with a weight and a value, determine the count of each item to include in a collection so that the total weight is less than or equal...
10 KB  
NEW DOWNLOADS IN SCRIPTS, DEVELOPMENT TOOLS
Scripts  -  Freelancer Script 5.05
Main Features: 100% Secured. Email Support (3 Years). FREE Updates (3 Years). Post projects. Featured projects. Private projects. Sealed projects. Edit/delete projects. Select freelancers....
5.49 MB  
Scripts  -  B2B Script 4.20
Main Features: 100% Secured. Email Support (3 Years). FREE Updates (3 Years). Sign-up Account (Registration of account). Lead generation tools (for the sellers). Email verification to...
5.49 MB  
Scripts  -  B2C Script 5.06
Main Features: 100% Secured. Email Support (3 Years). FREE Updates (3 Years). The script comes with totally editable site colors, icons and graphics Multilevel categories allows extensive browsing Admin can change Category ordering or...
5.49 MB  
Scripts  -  Social Networking Script 2.86
Main Features: 100% Secured. Email Support (3 Years). FREE Updates (3 Years). Registration with name, email, password, date of birth etc. User can add multiple school, college, university with start...
5.49 MB  
Scripts  -  Business Networking Script 8.04
Main Features: 100% Secured. Email Support (3 Years). FREE Updates (3 Years). Ajax based interface. Profile creation. Different types of profile. Profile for jobseekers, employers and employed...
5.49 MB  
Development Tools  -  Aml2CHM 3.50
Those who use the popular Aml Pages text editor might be looking out for a way of generating help files from their text and notes. Aml2CHM is a plug-in that was developed to offer people a quick and efficient way of converting Aml Pages documents...
549.99 KB  
Development Tools  -  VMP Viewer 1.0
This is a very rudimentary tool to visualize the VMP files generated by BrainVoyager. Useful to share files with people who do not have BV.
10 KB  
Development Tools  -  Sending reports and timestamped file by emailing 1.0
main executing reference usage:[1] usage_send_mail.mIllustrates email sending with multiple separate files or single timestamped tar file. Attachment failure is properly handled, with continuation of report emailing without the attachment.[2]...
768 KB  
Development Tools  -  IrisMVC 2.0 rc1
IrisMVC is an OOP PHP framework that developers can use as a strong and secure foundation to build on various web applications following the Model-View-Controller (MVC) pattern. It provides the basic functionality developers need, without...
51.2 KB  
Development Tools  -  7-Zip for Script 4.42
7-Zip is a file archiver with a high compression ratio.Features:- High compression ratio in new 7z format with LZMA compression- Supported formats:- Packing / unpacking: 7z, ZIP, GZIP, BZIP2 and TAR- Unpacking only: RAR, CAB, ISO, ARJ, LZH, CHM,...
624.64 KB