You need a Bloomberg Connection before retrieving data.
You can to refer to the following documentation for an example on how to retreive Bloomberg current data : https://www.mathworks.com/help/datafeed/retrieve-bloomberg-current-data.html
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!