Code covered by the BSD License  

Highlights from
msquery

5.0

5.0 | 8 ratings Rate this file 42 Downloads (last 30 days) File Size: 28.27 KB File ID: #5660
image thumbnail

msquery

by Blair Greenan

 

09 Aug 2004 (Updated 12 Aug 2004)

Run queries on a Microsoft Access database and have results returned to the MATLAB workspace.

| Watch this File

File Information
Description

The msquery toolbox enables you initiate a query in a Microsoft Access database program and to transfer the results of directly into your MATLAB workspace. The columns headings from the Access query are parsed and assigned as the variable names of the appropriate columns in your MATLAB workspace. This can be run interactively using a GUI or from the MATLAB command line.

MATLAB release MATLAB 7 (R14)
Other requirements Microsoft Windows OS required
Tags for This File  
Everyone's Tags
Tags I've Applied
Add New Tags Please login to tag files.
Comments and Ratings (9)
19 Nov 2004 wood Wang

Powerful!!

27 Apr 2005 Kip Jonston

Nice work!

29 Jun 2006 Andrew Blackburn

It should be noted that this toolbox, because it uses ActiveX automation, will also work with Access 2000 and 2003. A very impressive bit of MATLAB coding, all accomplished without a single .mex file. Saved me all kinds of time and efford.

25 Nov 2006 Madhusudhanan Balasubramanian

Nice toolkit. Tested on Access 2003, it works!

29 Nov 2007 wo kao

Great work! It is just what i want. Thanks

24 Sep 2008 Alvaro Hernandez

Great Work!...

14 Jan 2010 Dmitry Borovoy

This is really what I need. But I've found small bug. If database doesn't contain any queries, than we get error at line 157 at the file 'opendatabase.m'.
I offer you add such code for example

if(exist('QDName'))
% Update the string presented in the listbox and highlight the first item
QDLength = length(QDName);
set(hQueryList,'String',QDName(1:QDLength),'Value',1);
else
QDLength = 0;
end
Or something else. Because otherwise program is crushed and don't work properly

13 Aug 2010 J Ng

This toolbox is great, but I can't seem to get this to work. I'm using Access 2007 and I get the following error message.

??? Error using ==> actxserver at 91
Server creation failed. Invalid ProgID 'Access.Application'

Error in ==> openDatabase at 52
hacc = actxserver('Access.Application');

What do I need to do to correct this?

13 Aug 2010 J Ng  
Please login to add a comment or rating.
Tag Activity for this File
Tag Applied By Date/Time
data import Blair Greenan 22 Oct 2008 07:29:31
data export Blair Greenan 22 Oct 2008 07:29:31
microsoft access database Blair Greenan 22 Oct 2008 07:29:31
utilities Blair Greenan 22 Oct 2008 07:29:31
import Blair Greenan 22 Oct 2008 07:29:31
export Blair Greenan 22 Oct 2008 07:29:31
data Blair Greenan 22 Oct 2008 07:29:31
data export verkehrsein 14 Mar 2011 22:10:44
microsoft access database Brian 12 Jan 2012 19:32:12

Contact us at files@mathworks.com