Why does MATLAB crash when starting a Bloomberg connection in a timer function?

I am running a timer function that feeds data from Bloomberg, it works fine for a couple of minutes before crashing. How can I fix this?

 Respuesta aceptada

First, make sure you are not creating multiple Bloomberg connections. 
Try one the following:
1. Use a single Bloomberg connection and pass a reference of it to the timer function.
2. Use the 'realtime' function with a custom 'eventhandler' field to obtain real time data for the connection: <https://www.mathworks.com/help/datafeed/blp.realtime.html>

Más respuestas (0)

Categorías

Más información sobre Manage Products en Centro de ayuda y File Exchange.

Productos

Versión

R2017b

Etiquetas

Aún no se han introducido etiquetas.

Community Treasure Hunt

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

Start Hunting!

Translated by