필터 지우기
필터 지우기

'.mlapp' not working properly after converting to 'standalone' application (.exe) ('.pdf' documents in directory not opening in from '.exe' file)

조회 수: 3 (최근 30일)
Hi,
I have created an app 'T2.mlapp', which allow the user to filter to a directory and input a document (.pdf file) full or part name. After inputting the document name and pushing the search button all the (.pdf) files matching the input get listed out in a list box. Now the user can selected the required document and push the open button and this action opens the required the document.
Well, all the above said was working fantastic until the 'T2.mlaap' is not made standalone. After making this an standalone application running the '.exe' file, the above said procedure is working until listing out all the matching '.pdf' documents, but upon selecting the desired document and pushing the open button error sound is audible and document is not opening.
Error message observed in CMD view and 'T2.mlapp' apps are attached.
View above, request go through '.mlapp', and ‘.error snap’ attached. It would be great if someone can help me out.
Regards
Divakar
  댓글 수: 1
Ravikiran Anapagaddi
Ravikiran Anapagaddi 2022년 11월 4일
Can you please let me know the proceedure to convert *.mlapp file into standardalone application where I want to run application without having MATLAB (by installing runtime compilier)

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

채택된 답변

Image Analyst
Image Analyst 2022년 6월 5일
편집: Image Analyst 2022년 6월 5일
Around line 254, change
elseif (isdir(fpath)==0)
open (fpath);
to
elseif ispc
winopen(fpath);
It seems to work then.
  댓글 수: 1
KARUKOLA DIVAKARA RAO
KARUKOLA DIVAKARA RAO 2022년 6월 6일
@Image Analyst, thank you very much for your spontanius response. Probelm appear to be solved.
'.exe' file is working well now. However, will run it on runtime compiler and check.
Thanks a lot!
Regards
Divakar

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

추가 답변 (0개)

카테고리

Help CenterFile Exchange에서 Web Apps에 대해 자세히 알아보기

Community Treasure Hunt

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

Start Hunting!

Translated by