Run exe file with two files
이전 댓글 표시
I want to run exe file using matlab, it requires two files that i choose
i used system function, but it takes long time and i don't have any results or error message
whats problem?
my code is
function choose_tissue_file_Callback(hObject, eventdata, handles)
[tissuefilename pathname] = uigetfile({'*.mci'},'File Selector')
handles.tissue_file_name=tissuefilename
guidata(hObject, handles);
function choose_illcol_setup_Callback(hObject, eventdata, handles)
[illcolsetupfilename pathname] = uigetfile({'*.txt'},'File Selector')
handles.illcolsetup_file_name=illcolsetupfilename
guidata(hObject, handles);
function simulink_Callback(hObject, eventdata, handles)
illcolsetup=handles.illcolsetup_file_name
tissue=handles.tissue_file_name
system ('"mcml.exe" tissue illcolsetup')
채택된 답변
추가 답변 (0개)
카테고리
도움말 센터 및 File Exchange에서 Simulink에 대해 자세히 알아보기
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!