How can I make the browse pushbutton on my GUI in Matlab functional?
5 Ansichten (letzte 30 Tage)
Ältere Kommentare anzeigen
Cordelle
am 3 Jun. 2013
Beantwortet: Emanuel
am 4 Mai 2015
Code:
FileName = 'kWilliams.txt';
FileName;FilePath = uigetfile();
ExPath = [FilePath FileName];
Currently, it opens up the windows gui that "select file to open". However, when I try to select a file and open the file everthing just disappears
0 Kommentare
Akzeptierte Antwort
Azzi Abdelmalek
am 3 Jun. 2013
[FileName,FilePath ]= uigetfile();
ExPath = fullfile(FilePath, FileName)
5 Kommentare
Azzi Abdelmalek
am 3 Jun. 2013
function Browse1_Callback(hObject, eventdata, handles)
[FileName,FilePath ]= uigetfile();
ExPath = fullfile(FilePath, FileName);
set(handles.Filename1,'string',ExPath)
Weitere Antworten (1)
Emanuel
am 4 Mai 2015
Hello, I want now to simulate the browsed file (.mdl) with a push button. what command do I use? set_param(' ??? ,'SimulationCommand','start'); thanks for the information
0 Kommentare
Siehe auch
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!