I'm not aware of anyone having done this. Apple apparently does not provide a Cocoa API to it, leaving you with informal, "tinkers" interfaces. AStack Overflow article has some suggestions -- you would need either write someMEX glue code to interface Objective-C to MATLAB, or you may be able to useloadlibrary.
In all cases, it looks like the options out there may not have been updated in the last handful of years, so they may or may not work with modern hardware (I'm guessing here). Also note that newish SSD drives do not have this hardware in question.