'.mlapp' not working properly after converting to 'standalone' application (.exe) ('.pdf' documents in directory not opening in from '.exe' file)
3 views (last 30 days)
Show older comments
KARUKOLA DIVAKARA RAO
on 5 Jun 2022
Commented: Ravikiran Anapagaddi
on 4 Nov 2022
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 Comment
Ravikiran Anapagaddi
on 4 Nov 2022
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)
Accepted Answer
Image Analyst
on 5 Jun 2022
Edited: Image Analyst
on 5 Jun 2022
Around line 254, change
elseif (isdir(fpath)==0)
open (fpath);
to
elseif ispc
winopen(fpath);
It seems to work then.
More Answers (0)
See Also
Categories
Find more on Web Apps in Help Center and File Exchange
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!