open file with another application
조회 수: 4 (최근 30일)
이전 댓글 표시
i want open file with an certain application
댓글 수: 1
Jan
2015년 3월 9일
So why don't you directly open the file with this application? What is your question? What have you tried so far and which problem occur? Which application are you talking of?
답변 (2개)
Ortinomax
2015년 3월 9일
You can use the winopen function on windows to open the file in the default application for this file.
Another way could be tu use something like :
evalc(['!explorer ' my_dir_name_full]);
댓글 수: 1
Jan
2015년 3월 13일
The system is more direct than evalc('!'), but the latter might be useful, when catching the outputs matters.
Image Analyst
2015년 3월 14일
You can use system() or winopen() if you're using Windows. For example
winopen(excelFullFileName) % Launch Excel opened to this workbook.
댓글 수: 0
참고 항목
카테고리
Help Center 및 File Exchange에서 Environment and Settings에 대해 자세히 알아보기
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!