establishes a link to the notebook front end for use by the UseFrontEnd[] function.
ConnectToFrontEnd
establishes a link to the notebook front end for use by the UseFrontEnd[] function.
更多信息和选项
- To use ConnectToFrontEnd, you first need to load J/Link using Needs["JLink`"].
- ConnectToFrontEnd returns True to indicate that the link was established correctly, and False otherwise.
- The front end will be launched if required.
- Although UseFrontEnd will call ConnectToFrontEnd if necessary, ConnectToFrontEnd is provided to allow programmers to conveniently control when the front end is launched and to receive a True/False indication of whether it was successful.
- This function will typically be called only from an external program that is driving the kernel, not from code executing in a front end notebook.
技术笔记
文本
Wolfram Research (2007),ConnectToFrontEnd,Wolfram 语言函数,https://reference.wolfram.com/language/JLink/ref/ConnectToFrontEnd.html.
CMS
Wolfram 语言. 2007. "ConnectToFrontEnd." Wolfram 语言与系统参考资料中心. Wolfram Research. https://reference.wolfram.com/language/JLink/ref/ConnectToFrontEnd.html.
APA
Wolfram 语言. (2007). ConnectToFrontEnd. Wolfram 语言与系统参考资料中心. 追溯自 https://reference.wolfram.com/language/JLink/ref/ConnectToFrontEnd.html 年
BibTeX
@misc{reference.wolfram_2025_connecttofrontend, author="Wolfram Research", title="{ConnectToFrontEnd}", year="2007", howpublished="\url{https://reference.wolfram.com/language/JLink/ref/ConnectToFrontEnd.html}", note=[Accessed: 16-April-2026]}
BibLaTeX
@online{reference.wolfram_2025_connecttofrontend, organization={Wolfram Research}, title={ConnectToFrontEnd}, year={2007}, url={https://reference.wolfram.com/language/JLink/ref/ConnectToFrontEnd.html}, note=[Accessed: 16-April-2026]}