Create Access file

5 views (last 30 days)
Guillermo Rodriguez
Guillermo Rodriguez on 4 May 2011
I know how to connect with an Access database and perform all actions with it from matlab, but is there any way of creating the .mdb file from matlab without having to make manually?
I tried creating an activeX server but when using the DBEngine.CreateDatabase it says "Couldn´t find the ISAM installable file" (or something like that, due to I get that sentence in Spanish and don´t know how it is in English exactly)
Thanks in advance
  3 Comments
Guillermo Rodriguez
Guillermo Rodriguez on 4 May 2011
I already tried that befores posting here, and once i did everything its written there Access stopped working... i could not even open a file!
vinh
vinh on 24 May 2011
Your problem is the same as mine, and I want to set up the password of the access file through the .m file.
Hope someone will give some help :-)

Sign in to comment.

Answers (2)

vinh
vinh on 24 May 2011
I have an idea to have new access file: create an access file manually, then use "copyfile" function to create many another access files.
:-) such a stupid idea
  1 Comment
Guillermo Rodriguez
Guillermo Rodriguez on 24 May 2011
lol! I just need one file, and the idea is to be able to take the program I´m developing in Matlab to many different computers just taking the Matlab code :P

Sign in to comment.


vinh
vinh on 26 May 2011
May be you should create .mdb file by visual basic, then use Matlab to associate with it later.
I'm trying to solve this problem these days for my project.

Community Treasure Hunt

Find the treasures in MATLAB Central and discover how the community can help you!

Start Hunting!