How to read address locations using s-functions?

2 views (last 30 days)
Ravi on 20 Jun 2013
We are using Single Board Computer(SBC) of some 3rd party. We have installed MATLAB (R2010a) on that board. We want to read the data from address locations of SBC using S-functions. Please let me know the procedure..
SBC Configuration: Its configuration is same as normal desktop PC. (Intel I7, 8 GB RAM, 250 GB HDD)
We have to use *S-functions* to read address locations..

Accepted Answer

Kaustubha Govind
Kaustubha Govind on 20 Jun 2013
You can write standard ANSI C-code in S-functions, so you'll need to ask the vendor for a C/C++ API to access those locations, and simply use that API in your S-function. Essentially, if you are able to do this from a C/C++ application outside of MATLAB, it should be the same methodology in a MEX-function.
Ravi on 25 Jun 2013
Kaustubha: ok outside MATLAB it is working... i will try using s-fun...

Sign in to comment.

More Answers (0)

Community Treasure Hunt

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

Start Hunting!

Translated by