Borrar filtros
Borrar filtros

Matlab GUI popup menu and SQL database information

1 visualización (últimos 30 días)
Dan Howard
Dan Howard el 1 de Ag. de 2018
Currently I am learning how to use a GUI using Matlab 2015b, especially the 'how to populate a Pop-up Menu' using the information directly from a SQL database.
I have a couple of ideas on where I would like to go as follows:
Option 1: Long term goal would be to create a UI within Matlab that connects to a database - user selects a series of pop-up menus ( pre-filled directly from the SQL database tables) and finally, data that is selected will output onto a graph via a few push buttons.( sounds too good to be true, for me! )
Option 2: Use the Graphical table Interface and link the SQL system database to the Text, call back either a stored procedure or variables that have been stored in the work space.
Option 3: Scream for help and throw the computer out the window!
Thought I would start a bit small and gradually work my way through to an end result.
For starters..although I don't have the DatabaseToolBox ( which would be handy ) managed to use a ADODB connection via a few stored variables that the final output in concenated into a table via a simple SQL query.
I have been looking at the Official Matlab 'Creating Graphical User Interfaces' document and unfortunately cannot seem to find anything about using callbacks from a database to the UI.
If anyone could point me to some examples on if this can be achieved would be very helpful or if there are any other resources would be very helpful indeed.
Many thanks in advance.

Respuestas (0)

Etiquetas

Community Treasure Hunt

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

Start Hunting!

Translated by