Compile a .EXE into program and launch?

조회 수: 2 (최근 30일)
Matt
Matt 2017년 2월 3일
답변: Matt 2017년 3월 3일
Hi all,
I have developed a piece of software, for which the user may occasionally need a separate standalone .EXE.
I have compiled it into the program using DeployTool, but I am unsure how to launch it in my code? I've created a menu entry for it, but i'm not sure what function to use to execute it.
Thanks,
Matt
  댓글 수: 1
Matt
Matt 2017년 2월 13일
Does anybody have any more suggestions? I can't figure this one out.

댓글을 달려면 로그인하십시오.

채택된 답변

Matt
Matt 2017년 3월 3일
I have just found the winopen function.
This works well, I can launch a PDF or EXE.

추가 답변 (1개)

Friedrich
Friedrich 2017년 2월 9일
Hi,
if you want to launch an external application from your MATLAB code you can use system command.
  댓글 수: 1
Matt
Matt 2017년 2월 9일
Hi,
Thank you - unfortunately I have used the system command and it works fine until I compile the program, then it no longer launches the program that is on my computer.
What I really want to do though is compile the standalone EXE I have into my program, so that when my program is installed, the user can run the EXE compiled in from the menu.
Is this possible?
Thanks,
Matt

댓글을 달려면 로그인하십시오.

카테고리

Help CenterFile Exchange에서 Introduction to Installation and Licensing에 대해 자세히 알아보기

Community Treasure Hunt

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

Start Hunting!

Translated by