Compiled Windows Standalone App Logfile Location and Console Visibility
7 ビュー (過去 30 日間)
古いコメントを表示
- Is there a way to retrieve the location of the logfile if use the -R option programmatically rather than hardcopy so can be sure can find it for any choice of user installation location? The doc says "in application folder" but is there a way to determine that programmatically?
- Is there any builtin functionality to clear the logfile?
- Is there a way to programmatically display or hide the console if do not select the -e option based on, say, a debugFlag status the user can set? Would be extremely useful for debugging but avoid the annoying black console window if not hidden.
Another sidebar Q? on app building -- whassup w/ projects? AppDesigner makes a .prj file on its own, it seems, and then asks about saving changes on exit. But, then neither
appdesigner BuildBillingUtility.prj
openProject BuildBillingUtility.prj
work...the first says "...file type must be a MATLAB App (*.mlapp)."
so, ok, that leads to finding the doc for openProject but that returns
"The file "...\BuildBillingUtility.prj" is not a valid project file."
This is in both R2021b and R2022b -- was moving from the former to the latter when discovered the snafu...saved the original .mlapp file in R2021b with 'R21b' appended to base name, then reloaded the original into R2022b and did the same so as to not lose the working original if something went south in R022b.
2 件のコメント
Rik
2025 年 5 月 3 日
I generally create my own log file (based on the AppData folder, where Matlab also generally stores data). I hardly ever work with project files (or AppDesigner), so I'm afraid I can't help you with either issue.
回答 (0 件)
参考
カテゴリ
Help Center および File 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!