Be the first to rate this file! 13 downloads (last 30 days) File Size: 2.5 KB File ID: #16485

Arbitrary files & MATLAB variables <-> data stream vector converter

by Hoi Wong

 

20 Sep 2007 (Updated 11 Feb 2008)

No BSD License  

Encode any MATLAB data types into a numeric array, and vice versa

Download Now | Watch this File

File Information
Description

Right now MATLAB COM Automation Server does not support transferring non-cell/array or 3D cell/array in Remote Procedure Calls. This program is a temporary get around.

The updated version also supports converting arbitrary file into data stream. This comes in handy when you try to transfer a file through COM calls.

MATLAB release MATLAB 7.5 (R2007b)
Zip File Content  
Other Files dataStreamPackaging/file2stream.m,
dataStreamPackaging/stream2file.m,
dataStreamPackaging/stream2var.m,
dataStreamPackaging/var2stream.m
Tags for This File  
Everyone's Tags
Tags I've Applied
Add New Tags Please login to tag files.
Please login to add a comment or rating.
Updates
11 Feb 2008

- Now the temporary work file's name is automatically (randomly) generated to avoid conflict.

- In addition to transferring MATLAB variables around in data vectors, you can now transfer arbitrary files around as data vectors.

Tag Activity for this File
Tag Applied By Date/Time
external interface Hoi Wong 22 Oct 2008 09:27:51
file struct com data stream array vector Hoi Wong 22 Oct 2008 09:27:51
 

MATLAB Central Terms of Use

NOTICE: Any content you submit to MATLAB Central, including personal information, is not subject to the protections which may be afforded information collected under other sections of The MathWorks, Inc. Web site. You are entirely responsible for all content that you upload, post, e-mail, transmit or otherwise make available via MATLAB Central. The MathWorks does not control the content posted by visitors to MATLAB Central and, does not guarantee the accuracy, integrity, or quality of such content. Under no circumstances will The MathWorks be liable in any way for any content not authored by The MathWorks, or any loss or damage of any kind incurred as a result of the use of any content posted, e-mailed, transmitted or otherwise made available via MATLAB Central. Read the complete Terms prior to use.

Contact us at files@mathworks.com