How should I use "-fork" option in mclInitializeApplication in R2019b?

조회 수: 1 (최근 30일)
WENYU ZHANG
WENYU ZHANG 2020년 1월 18일
Hi,
I saw the documents here: https://www.mathworks.com/help/compiler_sdk/cxx/mclinitializeapplication.html?searchHighlight=mclInitializeApplication&s_tid=doc_srchtitle showing that we can use option "-fork" for mclInitializeApplication when initialize a Matlab Runtime Instance in R2019b but I cannot find any furthur explaination regarding this option.
And when I tried to use following code to initialize the mcr:
const char* mcr_options[] = {"-fork"};
if (!mclInitializeApplication(mcr_options, 1)) {
std::cerr << "Could not initialize the application properly" << std::endl;
return -1;
} else {
std::cout << "Done mclInitializeApplication" << std::endl;
}
I keep receive this warning: "Warning: Unrecognized command line option: fork."
I wonder if this option is truely implemented inside R2019b. If so, how can I make it work properly?
Thanks

답변 (0개)

카테고리

Help CenterFile Exchange에서 MATLAB Compiler SDK에 대해 자세히 알아보기

제품


릴리스

R2019b

Community Treasure Hunt

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

Start Hunting!

Translated by