How to connect Simulink to MS Access database

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

2 Comments

Is there any direct way to connect dabase to simulnik or i should put data into workspace and fetch them?
Hi Arun,
I'm trying to do something similar with PostgreSQL database. Were you able to figure this out? I need your help.

Sign in to comment.

Answers (1)

You can use activex controls or database toolbox.
Refer below link for further details:
Hope it helps!!!

3 Comments

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
You need to write a MATLAB S-function block that will call into the Database Toolbox functions.
This thread may have some useful info on S-functions that use the Database toolbox.

Sign in to comment.

Categories

Find more on Reporting and Database Access in Help Center and File Exchange

Tags

Community Treasure Hunt

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

Start Hunting!