MATLAB Answers

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 PG
on 17 Oct 2012

You can use activex controls or database toolbox.

Refer below link for further details:

http://www.mathworks.nl/matlabcentral/answers/6471

Hope it helps!!!

  3 Comments

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
on 17 Oct 2012

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

K E
on 17 Oct 2012

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


Discover what MATLAB® can do for your career.

Opportunities for recent engineering grads.

Apply today