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

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

Serving Software Downloads in 976 Categories, Downloaded 30.066.508 Times

mxGetPropertyPtr C-mex function 1.0

  Date Added: April 20, 2013  |  Visits: 131

mxGetPropertyPtr C-mex function

Report Broken Link
Printer Friendly Version


Product Homepage
Download (18 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
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  
Misc. Information Databases  -  Asbestos Lung Cancer 1
Asbestos lung cancer is not caused by smoking. The pleural lining is a membrane that surrounds the lungs. Asbestos lung cancer is a form of cancer in the lungs that is the direct result of exposure to asbestos. When asbestos fibers are chronically...
204 KB  
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  
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  -  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  
Development Tools  -  Barnardextest 1.0
This file, as the Fisher's exact test, performs the exact probability test for a table of frequency data cross-classified according to two categorical variables, each of which has two levels or subcategories (2x2). It is a non-parametric...
10 KB