Why could I specify a file path and file name for the logfile in Matlab Compiler 2012b but I can only specify the file name in 2016a?

조회 수: 2 (최근 30일)
Under the Matlab Compiler 2012b Advanced setting tab, I could specify a file path and file name for a log file. Now, in Matlab Compiler 2016a, I can only specify the file name for the logfile because \ is one of the invalid characters. Is there a way to specify a file path for my log file?

답변 (2개)

Sanjana Ramakrishnan
Sanjana Ramakrishnan 2017년 9월 19일
In step 6 described in the below link to create a standalone application with MATLAB Compiler, when you click package button, you will be prompted to browse the location where you want the compiled application to be placed. All the files including log files that get generated with the compiler gets placed in this location.
https://www.mathworks.com/help/compiler/create-and-install-a-standalone-application-from-matlab-code.html
  댓글 수: 3

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


Jed Abanat
Jed Abanat 2020년 2월 11일
Unsure if you're still after an answer, but I found this solution which uses the syntax
mcc -e -R -logfile -R 'filename.txt' -v function_name
You can then specify the direcotory within the 'filename.txt'. This is for 2019b btw.

카테고리

Help CenterFile Exchange에서 Standalone Applications에 대해 자세히 알아보기

Community Treasure Hunt

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

Start Hunting!

Translated by