I would like to open a Matlab/Simulink file from a GUI (Java/Eclipse), select a certain block within the simulink model, and somehow get back the path of that block.
I know how to implement a Browse button in the GUI to select the file, but I need some hints to go on: how to automatically open the selected file with Matlab/Simulink, and how to proceed to get back the "path" of the block within the system architecture. I need that path as an input for a further task.
EDIT. To open the file, it is necessary to implement an JButton for browsing, and then:
Desktop.getDesktop().open(file);