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

New to MATLAB?

How to connect Simulink to MS Access database

Asked by Arun Badigannavar on 17 Oct 2012

I have project requirment where my simulink blocks use data from MS Access database,,,How to connect simulink to databse

1 Comment

Arun Badigannavar on 17 Oct 2012

Is there any direct way to connect dabase to simulnik or i should put data into workspace and fetch them?


1 Answer

Answer by Sachin

Sachin (view profile)

on 17 Oct 2012

You can use activex controls or database toolbox.

Refer below link for further details:

Hope it helps!!!


Arun Badigannavar on 17 Oct 2012

Thanks mr sachin,,but i guess i need database toolbox and Will i get direct databse conneting blocks in Simulink if i take databse too;lbox

Kaustubha Govind

Kaustubha Govind (view profile)

on 17 Oct 2012

You need to write a MATLAB S-function block that will call into the Database Toolbox functions.


K E (view profile)

on 17 Oct 2012

This thread may have some useful info on S-functions that use the Database toolbox.


Sachin (view profile)

Contact us