gpt4 book ai didi

php - MATLAB::-nojvm 启动选项下不再支持此功能

转载 作者:行者123 更新时间:2023-12-04 18:54:56 25 4
gpt4 key购买 nike

我在终端中运行 Matlab 代码,因为稍后我需要在 php 中调用它。但是我收到这些错误:

jalal@klein:~/Desktop/v1.2$ matlab -nojvm < matlab.m

错误:
L2 norm on unsampled vertices: 0.096158
>> >> >> >> >> >> Error using figure
This functionality is no longer supported under the -nojvm startup option. For
more information, see "Changes to -nojvm Startup Option" in the MATLAB Release
Notes. To view the release note in your system browser, run
web('http://www.mathworks.com/help/matlab/release-notes.html#btsurqv-6',
'-browser').

>> Error using gcf
This functionality is no longer supported under the -nojvm startup option. For
more information, see "Changes to -nojvm Startup Option" in the MATLAB Release
Notes. To view the release note in your system browser, run
web('http://www.mathworks.com/help/matlab/release-notes.html#btsurqv-6',
'-browser').

Error in newplot (line 63)
fig = gcf;

Error in scatter>localGetAxesInfo (line 102)
cax = newplot(cax);

Error in scatter (line 82)
[~,parax] = localGetAxesInfo(cax);

>> >> >> >> Error using gca
This functionality is no longer supported under the -nojvm startup option. For
more information, see "Changes to -nojvm Startup Option" in the MATLAB Release
Notes. To view the release note in your system browser, run
web('http://www.mathworks.com/help/matlab/release-notes.html#btsurqv-6',
'-browser').

Error in title (line 22)
ax = gca;

>> Error using gca
This functionality is no longer supported under the -nojvm startup option. For
more information, see "Changes to -nojvm Startup Option" in the MATLAB Release
Notes. To view the release note in your system browser, run
web('http://www.mathworks.com/help/matlab/release-notes.html#btsurqv-6',
'-browser').

Error in hold (line 34)
ax = gca;

>> >> >> Error using figure
This functionality is no longer supported under the -nojvm startup option. For
more information, see "Changes to -nojvm Startup Option" in the MATLAB Release
Notes. To view the release note in your system browser, run
web('http://www.mathworks.com/help/matlab/release-notes.html#btsurqv-6',
'-browser').

>> Error using gcf
This functionality is no longer supported under the -nojvm startup option. For
more information, see "Changes to -nojvm Startup Option" in the MATLAB Release
Notes. To view the release note in your system browser, run
web('http://www.mathworks.com/help/matlab/release-notes.html#btsurqv-6',
'-browser').

Error in newplot (line 63)
fig = gcf;

Error in scatter>localGetAxesInfo (line 102)
cax = newplot(cax);

Error in scatter (line 82)
[~,parax] = localGetAxesInfo(cax);

>> >> >> >> Error using gca
This functionality is no longer supported under the -nojvm startup option. For
more information, see "Changes to -nojvm Startup Option" in the MATLAB Release
Notes. To view the release note in your system browser, run
web('http://www.mathworks.com/help/matlab/release-notes.html#btsurqv-6',
'-browser').

Error in title (line 22)
ax = gca;

>> Error using gca
This functionality is no longer supported under the -nojvm startup option. For
more information, see "Changes to -nojvm Startup Option" in the MATLAB Release
Notes. To view the release note in your system browser, run
web('http://www.mathworks.com/help/matlab/release-notes.html#btsurqv-6',
'-browser').

Error in hold (line 34)
ax = gca;

>> >> Error using figure
This functionality is no longer supported under the -nojvm startup option. For
more information, see "Changes to -nojvm Startup Option" in the MATLAB Release
Notes. To view the release note in your system browser, run
web('http://www.mathworks.com/help/matlab/release-notes.html#btsurqv-6',
'-browser').

>> Error using gcf
This functionality is no longer supported under the -nojvm startup option. For
more information, see "Changes to -nojvm Startup Option" in the MATLAB Release
Notes. To view the release note in your system browser, run
web('http://www.mathworks.com/help/matlab/release-notes.html#btsurqv-6',
'-browser').

Error in newplot (line 63)
fig = gcf;

Error in scatter>localGetAxesInfo (line 102)
cax = newplot(cax);

Error in scatter (line 82)
[~,parax] = localGetAxesInfo(cax);

>> >> >> >> Error using gca
This functionality is no longer supported under the -nojvm startup option. For
more information, see "Changes to -nojvm Startup Option" in the MATLAB Release
Notes. To view the release note in your system browser, run
web('http://www.mathworks.com/help/matlab/release-notes.html#btsurqv-6',
'-browser').

Error in title (line 22)
ax = gca;

>> Error using gca
This functionality is no longer supported under the -nojvm startup option. For
more information, see "Changes to -nojvm Startup Option" in the MATLAB Release
Notes. To view the release note in your system browser, run
web('http://www.mathworks.com/help/matlab/release-notes.html#btsurqv-6',
'-browser').

Error in hold (line 34)
ax = gca;

>> >> Error using figure
This functionality is no longer supported under the -nojvm startup option. For
more information, see "Changes to -nojvm Startup Option" in the MATLAB Release
Notes. To view the release note in your system browser, run
web('http://www.mathworks.com/help/matlab/release-notes.html#btsurqv-6',
'-browser').

>> Error using gcf
This functionality is no longer supported under the -nojvm startup option. For
more information, see "Changes to -nojvm Startup Option" in the MATLAB Release
Notes. To view the release note in your system browser, run
web('http://www.mathworks.com/help/matlab/release-notes.html#btsurqv-6',
'-browser').

Error in newplot (line 63)
fig = gcf;

Error in scatter>localGetAxesInfo (line 102)
cax = newplot(cax);

Error in scatter (line 82)
[~,parax] = localGetAxesInfo(cax);

>> >> >> >> Error using gca
This functionality is no longer supported under the -nojvm startup option. For
more information, see "Changes to -nojvm Startup Option" in the MATLAB Release
Notes. To view the release note in your system browser, run
web('http://www.mathworks.com/help/matlab/release-notes.html#btsurqv-6',
'-browser').

Error in title (line 22)
ax = gca;

>> Error using gca
This functionality is no longer supported under the -nojvm startup option. For
more information, see "Changes to -nojvm Startup Option" in the MATLAB Release
Notes. To view the release note in your system browser, run
web('http://www.mathworks.com/help/matlab/release-notes.html#btsurqv-6',
'-browser').

Error in hold (line 34)
ax = gca;

你能指导我如何解决这个问题,或者我还能如何从 PhP 运行 Matlab 代码?目前我可以运行 ls -ltr 之类的命令从 php 并在网页上查看结果!

最佳答案

您已禁用最新版本的 MATLAB 中图形所需的 JVM。如果您需要图形但不需要 IDE,您可以使用 -nodesktop -nosplash 启动 MATLAB . -nosplash选项确保不显示 MATLAB 初始屏幕。

matlab -nodesktop -nosplash

关于php - MATLAB::-nojvm 启动选项下不再支持此功能,我们在Stack Overflow上找到一个类似的问题: https://stackoverflow.com/questions/39520317/

25 4 0
Copyright 2021 - 2024 cfsdn All Rights Reserved 蜀ICP备2022000587号
广告合作:1813099741@qq.com 6ren.com