Create Access file

2 次查看(过去 30 天)
Guillermo Rodriguez
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 个评论
Guillermo Rodriguez
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 2011-5-24
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 :-)

请先登录,再进行评论。

回答(2 个)

vinh
vinh 2011-5-24
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 个评论
Guillermo Rodriguez
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

请先登录,再进行评论。


vinh
vinh 2011-5-26
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.

类别

Help CenterFile Exchange 中查找有关 Database Toolbox 的更多信息

Community Treasure Hunt

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

Start Hunting!

Translated by