🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

Article View: comp.soft-sys.matlab
Article #99

Re: CMEX

#99
From: John Little
Date: Wed, 27 Jan 1993 00:21
34 lines
1778 bytes
In article <1993Jan25.211337.5466@news.dfrf.nasa.gov> Todd Vernon,
todd@fred.dfrf.nasa.gov writes:
>Our site uses Matlab 3.0 and now is moving to 4.0.  We have
>a few CMEX programs we generated to load large files containing
>time history data sets. 
>
>Due to the way Matlab handles CMEX interaction, ( all passed 
>back data must be in a left hand argument),  this makes it
>very difficult to load data sets with unknown number or
>matrices.
>
>Our data is mostly vector data, so what we do is pass back
>2 left hand args, one that contains all our 1-by-n vectors 
>packed into one matrix, and the other a matrix of characters
>that make up each vector name.  After words, we have a m-file
>that breaks apart each seperate vector putting it in a matlab
>variable by the name in the other matix.  What a PAIN.  
>
>Are we missing something here.   We really need a way to create
>matrices as we load the data and not have our hands tied by
>having to pass them back through left hand args.  
>
>This really hinders our ability to access the data we need to 
>get to, any suggestions.  Changing data format is NOT an option.
>
>Thanks in advance.


The MEX-file facility in MATLAB 4.0 includes a new routine called
mexPutMatrix that allows you to plop a matrix directly back into 
the MATLAB workspace.


John Little
Technical Details
Message-ID: <C1HKzH.9vn@MathWorks.COM>
Path: arc1-ca.pugleaf.net!sparky!uunet!ulowell!m2c!nic.umass.edu!noc.near.net!MathWorks.Com!nuntius
References: <1993Jan25.211337.5466@news.dfrf.nasa.gov>

Show Full Headers
Complete Article Headers
Path: arc1-ca.pugleaf.net!sparky!uunet!ulowell!m2c!nic.umass.edu!noc.near.net!MathWorks.Com!nuntius
From: little@mathworks.com (John Little)
Newsgroups: comp.soft-sys.matlab
Subject: Re: CMEX
Message-ID: <C1HKzH.9vn@MathWorks.COM>
Date: 27 Jan 93 00:21:17 GMT
References: <1993Jan25.211337.5466@news.dfrf.nasa.gov>
Sender: news@MathWorks.COM (Usenet News Account)
Organization: The MathWorks, Inc.
Lines: 34
X-Useragent: Nuntius v1.1