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.475.681 Times

Replacement for mwArray using Matlab Engine 1.0

  Date Added: May 07, 2013  |  Visits: 314

Replacement for mwArray using Matlab Engine

Report Broken Link
Printer Friendly Version


Product Homepage
Download (43 downloads)

Update 2011: An example application is included which shows a 2D plot using Matlab formulas. Requires MFC. Visual Studio 2008 is recommended, but the project should work in other versions.Another update is more correct support for multi-threading in MxWrapper.As part of maintaining a large, legacy C++ application, I needed the to continue to use the functionality of mwArray. Unfortunately, Mathworks discontinued mwArray as a useful tool in MATLAB 6.5 (R13). You would know if your program needs the old mwArray if you see #include "matlab.hpp" anywhere in your code. You cannot perform any mathematical operations on mwArray in the current version of Matlab.http://www.mathworks.com/support/solutions...-TOVEL/?1-TOVELMy solution was to write a smart pointer class to hold an mxArray and then send it to the Matlab Engine to perform computations. mxWrapper's "smart" pointer simply frees the mxArray pointer when in the mxWrapper destructor function. mxWrapper also implements matrix slicing (using mxWrapperColon()) in both assignments and sub-array selection. It's still a useful and powerful tool for computation. For example, see these tutorials:"Solving Engineering Problems Using MATLAB C++ Math Library" by By A. Riazi | 22 Jul 2003http://www.codeproject.com/KB/cpp/matlab_cpp.aspx"Using the C++ Math Library" (old Matlab 6.1 documentation):http://www.socsci.umn.edu/doc/matlab/toolb...g/working5.htmlmxWrapper makes this fast and easy, and it has most of the functionality of mwArray. In fact, the same code will compile if you do something like this:using mxWrapperNS::mxWrapper;typedef mxWrapper mwArray;using mxWrapperNS::mxWrapperColon;#define colon mxWrapperColonI purposely put mxWrapper in its own namespace so that I could move individual functions (sin, cos, etc) from mwArray to mxWrappers one at a time, maintaining compatibility.The attached files will compile under both MATLAB 6.1 and 2010a. Therefore I was able to make a gradual transition to the new Matlab engine by hiding it behind mxWrapper.I wrote some example functions in mxTestWrappers() and mxTestEngine(). For example:mxWrapper e = mxWrapperColon(3, 7);mxWrapper g = e( find( e >= 4 ) );e( f ) = 0;e.put(ep, "e"); // now do something in Matlab with itcout

Requirements: No special requirements
Platforms: Matlab
Keyword: Engine Gradual Hiding Mxtestengine Mxtestwrappers Mxwrappercolon Transition Wrote
Users rating: 0/10

License: Shareware Size: 645.12 KB
REPLACEMENT FOR MWARRAY USING MATLAB ENGINE RELATED
Delphi Utilities  -  Flash SlideShow Engine 1.4
Flash SlideShow Engine Delphi Edition - powerful component to create Flash animation like slide show with different transition and transformation effects. Flash SlideShow Engine Delphi Edition includes the source code. Flash SlideShow...
875.15 KB  
Audio Components  -  Flash SlideShow Engine ActiveX Edition 1.1
Flash SlideShow Engine is a powerful component to create Flash animation like slideshow with different transition and transformation effects. Flash SlideShow Engine features: - supports the following image formats: JPG, BMP, PNG, GIF, EMF,...
1.6 MB  
Site Search Tools  -  Zoom Search Engine 4.0 1016
Zoom is a package for web developers to easily add a powerful custom search engine to their website in a matter of minutes. No complicated server-side setup procedures, just index and upload. Available for PHP, ASP, JavaScript and CGI platforms.
1.42 MB  
Web Site Promotion  -  GRSeo - Search Engine Optimizer 2.4.31
Search Engine Optimizer is a software for any Windows version that offers specialized checks on Web pages in an effort to achieve higher search engine rankings. Users can run their Web pages through the Search Engine Optimizer (GRSeo) program,...
373 KB  
Web Site Promotion  -  1-Hour Search Engine Optimization 1.0
Free 1-hour search engine optimization crash course on the basics of search engine optimization & how to submit to search engines. The course is broken down into 10 chapters: 1. What Is Search Engine Optimization? 2. Search Engine...
517 KB  
Web Site Promotion  -  #1 ACE Search Engine Submission Software 2.4
Simple and easy to use search engine submission software for submitting your webpage URL and email address to the top search engines. Just enter your webpage URL and email address and watch in our unique browser window as your URL and email is...
2.48 MB  
Gaming Utilities  -  Morfit 3D Engine
Create the best 3D games, 3D websites or 3D presentations using the Morfit 3D engine and the Morfit Set Of Tools.
7.36 MB  
Information Management  -  Softpit PC Search engine 2.0.0.1
The search engine Softpit works on a very simple principle for document information management. The user simply submits the relevant information he is seeking, no external factors are required. The user himself determines which factors to apply...
8 MB  
Promotion Tools  -  Search Engine Promotion Tools 6.0
Search Engine Promotion Tools totally automates your search engine marketing. Everything's included: automatic search engines submission scheduler, meta tag generator, link checker, web ranking, keyword creator, doorway page generator, link promoter
447 KB  
Database Tools  -  Data Replication Engine 1.0
Using Zbit, Inc's Data Replication Engine users can easily replicate one source database to multiple destination databases simultaneously using multiple tables in the source database. Replicator allows duplication between any OLEDB/ODBC compliant...
61 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