When running a jar file in MATLAB, a Java log file is not created.
古いコメントを表示
I am using MatlabProxy library to send and receive data between jar file(java gui program) and matlab or running mscript in Java.
The jar file uses log4j2 to generate a log file
I checked that log file is generated when running jar file in cmd.
However, if you run the jar file in Matlab's mscript, the log file is not generated in the path.
I don't think it's a file permission issue because the GUI program that runs by performing a jar file in Matlab's mscript performs the function of deleting or adding files with the actual file explorer structure
Why was the log file not created when the jar file was run?
If you've ever had this problem, please help me
2 件のコメント
Angelo Yeo
2023 年 9 月 4 日
It would be the best if you can provide steps and files needed for reproduction.
回答 (0 件)
カテゴリ
ヘルプ センター および File Exchange で Startup and Shutdown についてさらに検索
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!