フィルターのクリア

Why am I unable to open Live Editor in MATLAB R2017b?

15 ビュー (過去 30 日間)
MathWorks Support Team
MathWorks Support Team 2017 年 12 月 13 日
コメント済み: ali karar 2021 年 1 月 27 日
When trying to open or create live scripts, I get the following:
The Live Editor is unable to run in the current system configuration.
Moreover, the initialization stage takes a long time (more than 200 seconds). After start up, the error message below appears:
com.mathworks.jmi.MatlabException: Did not start the server. Desired port was: 31415. Last error was: Server did not respond to initial request: 127.0.0.1:31614
at com.mathworks.jmi.NativeMatlab.SendMatlabMessage(Native Method)
at com.mathworks.jmi.NativeMatlab.sendMatlabMessage(NativeMatlab.java:259)
at com.mathworks.jmi.MatlabLooper.sendMatlabMessage(MatlabLooper.java:120)
at com.mathworks.jmi.Matlab.mtFeval(Matlab.java:1713)
at com.mathworks.jmi.Matlab.mtEval(Matlab.java:1647)
at com.mathworks.jmi.Matlab.mtEval(Matlab.java:1628)
at com.mathworks.matlabserver.connector.impl.AutoStartImpl$2.run(AutoStartImpl.java:63)
at com.mathworks.matlabserver.connector.impl.AutoStartImpl$TaskListener.mvmChanged(AutoStartImpl.java:200)
at com.mathworks.matlabserver.connector.impl.AutoStartImpl$TaskListener.mvmChanged(AutoStartImpl.java:182)

採用された回答

MathWorks Support Team
MathWorks Support Team 2018 年 5 月 9 日
This issue was resolved by turning off Windows Firewall or creating exceptions for ports 31415 and 31515.

その他の回答 (1 件)

Abiola Olaleye
Abiola Olaleye 2020 年 3 月 3 日
Solution
To add a Windows firewall port exception:
  1. On the client operating system, go to Start>Run and type firewall.cpl. The Windows Firewall window opens.
  2. Click on the “Advanced Settings” link on the left pane. The Windows Firewall with Advanced security window opens.
  3. Click on the “Inbound Rules” option.
  4. On the left pane, click on “New rule”.
  5. Under “Rule Type” select the option “Port” and click next.
  6. Select “TCP”and “specific local ports” options.
  7. Key in the port number, the default port is TCP port 135.
  8. Click Next.
  9. Select the option “Allow the connection”.
  10. Click Next, do not change any option here and click Next again.
  11. Specify a name for this rule.
  12. Click Finish.
  2 件のコメント
xtj un
xtj un 2020 年 11 月 8 日
I've tried this method,but it doesn't work.
besides,i know reset winsock can work,but only once.
ali karar
ali karar 2021 年 1 月 27 日
ty u legend

サインインしてコメントする。

カテゴリ

Help Center および File ExchangeLive Scripts and Functions についてさらに検索

製品


リリース

R2017b

Community Treasure Hunt

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

Start Hunting!

Translated by