Discover MakerZone

MATLAB and Simulink resources for Arduino, LEGO, and Raspberry Pi

Learn more

Discover what MATLAB® can do for your career.

Opportunities for recent engineering grads.

Apply Today

Thread Subject:
create a new SQL database

Subject: create a new SQL database

From: Javier

Date: 3 Mar, 2013 21:27:08

Message: 1 of 3

Hi,

in the database toolbox, is it possible (and if so how ?) to create a blank new database ?
Can't manage that, sound simple but...

Any ideas are appreciated!

Thanks.

J.

Subject: create a new SQL database

From: Javier

Date: 9 Mar, 2013 16:30:07

Message: 2 of 3

Hi,

no answer for that, so I assume it's not possible, only links with existing DB.
To bad.

Anyway, I dug out about using SQLite in Matlab and found and tried mksqlite for Matlab.
It works well.
Pretty strait if you know your SQL.

So for those who scratch their head with the same question, here is my 2cts.

Cheers.

J.

Subject: create a new SQL database

From: Ryan

Date: 12 Mar, 2013 02:55:06

Message: 3 of 3

Well, I don't see how you would use Matlab to 'create a blank database'. That doesn't make sense. Why, exactly, would you want to use Matlab to create a database? Use the database to create a database.

Anyway, you said that you already found the Database Toolbox. That's great!! You should find lots of samples in the 'dbdemos' folder, for Inserts and Updates. That's most much all you need to know. The rest is about Selects and Deletes; both are really straightforward, especially when you get a handle on the Inserts and Updates.



"Javier " <javier.donat@laposte.net> wrote in message <khfo2f$i7p$1@newscl01ah.mathworks.com>...
> Hi,
>
> no answer for that, so I assume it's not possible, only links with existing DB.
> To bad.
>
> Anyway, I dug out about using SQLite in Matlab and found and tried mksqlite for Matlab.
> It works well.
> Pretty strait if you know your SQL.
>
> So for those who scratch their head with the same question, here is my 2cts.
>
> Cheers.
>
> J.

Tags for this Thread

What are tags?

A tag is like a keyword or category label associated with each thread. Tags make it easier for you to find threads of interest.

Anyone can tag a thread. Tags are public and visible to everyone.

Contact us