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 29.610.391 Times

C-MEX file example for 'float' data types 1.0

  Date Added: April 06, 2013  |  Visits: 227

C-MEX file example for 'float' data types

Report Broken Link
Printer Friendly Version


Product Homepage
Download (18 downloads)



If you have a C function with arguments that are float or pointer to float (rather than double or pointer to double) you can call the function from MATLAB and pass arguments to the function as single data types. For example, in this case we have a C file that is a highpass filter. In MATLAB ver. 7 we pass arguments to the function as:[out,mem]=hpinput(single(n),single(mem));Note that mem is used both as input to the function and output to the function.If the arguments to the C function were of type double or poiter to double, there was no need to use 'signle' type casting when we were calling the function in MATLAB.To use this function in MATLAB you need to create a dll file by typing the following command in MATLAB:mex hpinput.cThe C function is part of the publicly available code for the ILBC coder.

Requirements: No special requirements
Platforms: Matlab
Keyword: Calling Casting Coder Command Create Double Functionif Hpinputcthe Matlab Matlabmex Matlabto Pointer Poiter Publicly Signle Typing
Users rating: 0/10

License: Freeware Size: 10 KB
USER REVIEWS
More Reviews or Write Review


C-MEX FILE EXAMPLE FOR 'FLOAT' DATA TYPES RELATED
Modules  -  send order html email 4.0
If you want to customize your e mail reception (order, confirmation command, create an account), the add on allow that.
 
Photo & Video  -  2by2! 1.02
Create unexpected double exposure images. 2by2! is a photo app that allows you to create double exposure photographs with friends ( and with random strangers). Snap a photo and it immediately goes to a waiting list where other...
12.2 MB  
Desktop Utilities  -  symox 0.4
symox (set your mouse on X) is a command line tool that automatically sets your mouse pointer to the given position if the mouse pointer isnt moving. It can be useful in an X11 startup script like your ~/.xsession. Usage ./symox [-iH] [-h...
10.24 KB  
Business  -  5Min Business Plan 1.0
Create your personalised Business Plan in just 5 minutes on your mobile device. Create an unlimited number of business plans Key Features: - 90% Less Typing than traditional Business Planning methods - Your one page business plans will...
5.4 MB  
Networking  -  T-HTB manager 1.0
T-HTB FREE web interface, built in PHP, simple Java Script, Ajax, Nested set model MySQL, rrd graph, create tc command using iptables CLASSIFY.
153.6 KB  
Miscellaneous Communications Tools  -  imsptool 0.98
imsptool is a command line tool to communicate with an IMSP server. In particular, it allows you to create, delete, import, and export address books. imsptool imports and exports using the LDIF format. Netscape Messenger and LDAP directory servers...
30.72 KB  
Utilities  -  deb-install 0.6.2
deb-install is a (big) shellskript, that works on top of the package management tools provided by the debian project. The goal is to create one command that installs any package into your system, or provides information about any package,...
30.72 KB  
Modules  -  Term Relations 6.x-1.0
#D7CX I pledge that Term Relations will have a full Drupal 7 release on the day that Drupal 7 is released.This module enhances support for related vocabulary terms as follows: * Directed relationships - preserve the direction of term...
30.72 KB  
Printer Tools  -  PDF Cube Free 1.0
PDF Cube Free is a tool to create PDF files from all printable files and all images. PDF Cube install as a virtual printer. It convert word to pdf, convert excel to PDF, convert ppt to pdf, convert image to pdf, convert xml to pdf etc without...
7.93 MB  
Business  -  Free PDF Cube 1.0
PDF Cube Free is a tool to create PDF files from all printable files and all images. PDF Cube install as a virtual printer. It convert word to pdf, convert excel to PDF, convert ppt to pdf, convert image to pdf, convert xml to pdf etc without...
9.36 MB  
NEW DOWNLOADS IN SCRIPTS, DEVELOPMENT TOOLS
Scripts  -  Free Ecommerce website creator 1.2
Free Ecommerce website creator is a free PHP shop creating script. This allows you to put a online shop on your own website. Create your own free ecommerce website for Your Business. Create an online shop using easyGUI online shop creator. The...
1.44 KB  
Scripts  -  MochiGames PHP Script ZDR 1.00
MochiGames PHP Script ZDR is web site, ready for use, for flash games. These flash games are downloaded automatically by "MochiGames PHP Script ZDR" from MochiGames media. The use of the games is free, you can use your own Mochi Publisher ID and...
368.54 KB  
Scripts  -  Php Chat 2.0
Add a free php site, single sign-on and multiple skins, 100% free 1. Server Modes: The chat server has paid mode and free mode. If the free chat mode, a free chat room will be assigned to your website with your domain as the room name. 2....
938.87 KB  
Scripts  -  Nibbleblog 3.0.1
Nibbleblog it's a powerful engine for creation and manipulation of BLOG's completely free. Very simple to install and configure (Only 1 step). The database used is based on XML files and this way it is not necessary to use MySQL or similar DBMS....
371.09 KB  
Scripts  -  PHP File Manager | CloudOsys 2.9b8
CloudOsys is a PHP file manager, a tool that allows your visitors upload files such as media content directly to your website. Your visitors will upload files directly to your website, where they can share and comment on them. Through cloud...
1.41 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  -  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  -  PHP Docbook Displayer for Scripts 1.0b
PHP Docbook Displayer provides XSL and CSS stylesheets, and PHP scripts, to generate easily and dynamically websites from Docbook files.It aims at simplifying to the max the web publication process : simply drop the docbook file under the site root !
102.4 KB  
Development Tools  -  WP Translate 1.0
This simple language translation plugin allows your users to quickly translate your webpages, through a widget on your blog.You have the option to select the title of the Widget, which will be displayed above the language translation form. Users...
10 KB  
Development Tools  -  save2word 1.0
A simple function to copy figure from MATLAB into MS Word automatically. It is a modification of saveppt (a function in File exchange) that save figures to MS Powerpoint.
10 KB