How to access a Database from Simulink?
Show older comments
Hi all,
I'm using Database Toolbox to query data from a PostgreSQL via MATLAB script. I want to do the same from within Simulink. Could anyone help me with that?
Thank you,
Answers (1)
Fangjun Jiang
on 21 Apr 2020
0 votes
You can always use the "MATLAB Function" block. Keep in mind that it is executed at every simulation step.
2 Comments
Srivenkata Satya Prasad Maddipatla
on 22 Apr 2020
Christopher Dieck
on 13 Jun 2022
Could you provide the S_Function?
Categories
Find more on Database Toolbox in Help Center and File Exchange
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!