Home > By category > Scripts >Development Tools > typecast and typecastx C-mex functions



typecast and typecastx C-mex functions

  • Downloads: 
  • Views: 
  • Rating:

TYPECAST and TYPECASTX are mex functions intended to mimic the MATLAB intrinsic typecast function with extensions. These C-mex versions of typecast differs from the intrinsic typecast in the following important aspects:

Intrinsic typecast
------------------
Type of copy: Deep Data Copy
Allows complex: No
Allows logical: No
Allows char: No
Allows non-vector: No

C-mex typecast
--------------
Type of copy: Shared Data Copy
Allows complex: Yes
Allows logical: Yes (cannot convert from complex)
Allows char: Yes (cannot convert from complex)
Allows non-vector: Yes

Since these C-mex functions produce a shared data copy of the original, it is more efficient than the MATLAB intrinsic typecast, which may be important if you are working with large variables. For non-vector inputs, the first non-singleton dimension must be compatible for the conversion.

There is *NO* difference in functionality between the C-mex typecast and typecastx functions. The purpose of including typecastx is so that users can have the extended functionality shown above without shadowing the intrinsic typecast. e.g., users with older versions of MATLAB that do not have a MATLAB intrinsic typecast might install both typecast and typecastx, whereas users with later versions of MATLAB that *do* have an intrinsic typecast might choose to only install the typecastx function.

Note that these C-mex functions are self-building ... you don't have to know anything about C.

Free download from Shareware Connection - TYPECAST and TYPECASTX are mex functions intended to mimic the MATLAB intrinsic typecast function with extensions.

Publisher: James Tursa | License: Freeware | Price: 0.00
Version: 1.0 | Size: 10 KB | Platform: Matlab, Scripts
Released Date: 01-06-2013 | Rating: 0 | Title: typecast and typecastx C-mex functions

Author Url: http://www.mathworks.com
Program Info Url: http://www.mathworks.com
Download Url: http://www.mathworks.com/matlabcentral/fx_files/17476/4/typecast_20110321.zip

More downloads from typecast and typecastx C-mex functions publisher James Tursa:

Moon Position - moonpos calculates the moon position using the method in the book

fulltosparse (Fortran version) - This example demonstrates how to populate a sparse matrix

engCallMATLAB (Fortran version) - Have you ever wanted to call the engCallMATLAB function, only to realize that it isn't available? Well, now it is! This Fortran routine mimics the functionality of the mexCallMATLAB function, but for engine applications.

Fortran Logical mex functions - mxLogicalFunctions.for provides a suite of functions to support conversion of Fortran logical variables to/from MATLAB style mxArray variables in mex routines or engine applications.

intbitcopy and uintbitcopy - Two c-mex functions are supplied.

typecast and typecastx C-mex functions keywords:
typecast and typecastx C-mex functions related downloads:

C Random Functions - C Random Functions is a package that has been created in order to simplify the hard job of projecting and encoding of programs.

Writing MATLAB C/MEX Code - Learn how to create MEX-functions: programs written in C, C++, or Fortran code that are callable from MATLAB.

intbitcopy and uintbitcopy - Two c-mex functions are supplied.

dlib C++ library for Windows - Dlib is a general purpose cross-platform C++ library designed using contract programming and modern C++ techniques.

The Cardiac Processor VI1 Matlab In C Mex Version - It is the version in C Mex frame of my cardiac processor VI1 for cardiac cells oscillations.

Shareware Connection periodically updates pricing and software information of 'typecast and typecastx C-mex functions' from company source 'James Tursa' , so some information may be slightly out-of-date. You should confirm all information before relying on it. Software piracy is theft,  Using 'typecast and typecastx C-mex functions' crack, password, serial numbers, registration codes, key generators is illegal and prevent future development of typecast and typecastx C-mex functions.

New Reviews

Driver Fusion - To keep your laptop and desktop running smoothly and get the best performance out of it, it is important to pay attention to some aspects. It is quite important to ensure your PC device drivers are updated. Components like motherboards, GPU and ...

RawTherapee - There are so many image editors out there but when it comes to powerful and versatile RAW file editors, the choices are somewhat limited. With Adobe switching to Cloud-based subscriptions for most of its apps, semiprofessional users including ...

Spark Browser - Nearly every PC user needs to browse the web nowadays, irrespective of age and gender. Whether you use a laptop or desktop, it is mandatory to use a web browser to access web or download files. There was a time a majority of Windows users ...

KeePass Password Safe - Using password becomes mandatory for performing various online operations, at both home and workplace. For accessing email accounts, shopping online, making banking transactions and similar tasks it is necessary to use user ids and passwords ...

Sculptris - For 3D modeling and design, there are so many apps to pick from noondays. From feature laden and expensive apps of Autodesk to mid level and lesser known contenders, users are spoilt for choice. However, it is also possible to use a decently ...

Baidu PC Faster - To keep your laptop or desktop computer running at peak speed and extract optimal performance out of it, using third party apps may be necessary. While some users still rely on Windows inbuilt PC cleanup and maintenance tools, some third party ...

SeaTools for Windows - Among all the hardware components used in a desktop or laptop, the hard disk is a prime one. In the hard disk is not in good shape, even a PC with powerful CPU and lots of RAM will malfunction or run sluggishly. Hard disk failure can lead to data ...

Qustodio Free Parental Control - Without using the Internet, it is extremely difficult to obtain information, seek entertainment or look for study references but there is a downside to it as well. While some tech savvy kids master the tricks to bypass monitoring of their parents ...

PC DeCrapifier - There is hardly any computer user who does not want to keep the PC running at top speed. However, unnecessary software and bloatware can reduce the speed and performance of your PC. Such Apps often come pre installed with laptops and desktops. ...

Bitcasa - The way computing technology evolves is quite amazing. Even a few years back data backup was limited mostly to external hard drives and DVDs. However, the proliferation of high speed internet access and emergence of cloud storage services have ...




New Downloads

HotDisc DVD Copy

HotDisc DVD Copy is a very
easy, fast and powerful DVD
ripping tool, which can help
you rip and convert your
favorite DVD ...

CodeTrack: Web-based Bug
Tracking

CodeTrack: Web-based Bug
Tracking, a system for
reporting, managing, and
tracking bugs and other issues
on multiple ...

MATLAB Contest - Protein

The sixth MATLAB Programming
Contest, Protein, will run
from November 6-13, 2002.

ActiveX control of APT
Thorlabs positioning stages

This code shows how to control
the APT Thorlabs positioning
system using the third party
ActiveX controls

Code Verification using
RTDX

serve as an introduction to
using RTDX technology from
Texas Instruments with
Simulink for the purpose of
verifying that ...

Field group

Fieldgroup will, as the name
implies, group fields together

WP Dessert Menu

This little plugin has one
simple purpose, to put a
WordPress Nav Menu in your
Admin Bar.

Four wire unbalanced
Transmission line

Model of "Four wire unbalanced
Transmission line"

gc2dec

This function converts a gray
coded string to its equivalent
decimal representation

Elementary Cellular
Automata

There are 256 elementary
cellular automata

change_position_select_obj

reads files and an offset to
the coordinates of the
selected objects

Mad Bomber

Mad Bomber game challenges you
to catch bombs before they hit
the ground and explode.