フィルターのクリア

CONNECTOR ERROR Matlab 2015b

7 ビュー (過去 30 日間)
Afraa Alsereidi
Afraa Alsereidi 2015 年 10 月 10 日
コメント済み: Srabanee Panda 2019 年 8 月 29 日
Dear all,
Would you please help me to fix this problem.It appeares whenever I want to open simulink tool.
Error using connector.ensureServiceOn
Error starting MATLAB Connector. Please check that port 31515 is available.
Error in slmsgviewer
Error in slmsgviewer/PersistentInstance
Error in slmsgviewer.processRecord
Error in openmdl (line 12)
evalin('base', ['open_system(''' strrep(filename, '''','''''') ''');'] );
Error in open (line 158)
feval(openAction,fullpath);
Error in uiopen (line 167)
open(fn);
Error using connector.ensureServiceOn
Error starting MATLAB Connector. Please check that port 31515 is available.
Error in slmsgviewer
Error in slmsgviewer/PersistentInstance
Error in slmsgviewer.processRecord
Error in matlabshared.scopes.visual.TimeDomainSLADisplay (line 32)
function this = TimeDomainSLADisplay(varargin)
Error in matlabshared.scopes.visual.TimeDomainVisual/deserializeLayoutGrid (line 32)
hDisplay = matlabshared.scopes.visual.TimeDomainSLADisplay(gridContainer, displayInd);
Error in matlabshared.scopes.visual.DisplayVisual/setup (line 48)
[this.LayoutGridContainer,this.Displays] = deserializeLayoutGrid(this, ...
Error in matlabshared.scopes.visual.TimeDomainVisual/renderWidgets (line 16)
setup(this, getVisualizationParent(hScope));
Error in Simulink.scopes.TimeScopeBlockExtensionSystem/renderWidgets (line 126)
renderWidgets(this.TimeDomain);
Error in matlabshared.scopes.UnifiedScope/renderWidgets (line 349)
renderWidgets(this.ExtDriver);
Error in Simulink.scopes.TimeScopeBlockCfg/launch (line 49)
renderWidgets(hFramework);
Error in Simulink.scopes.ScopeBlockSpecification/setVisible (line 130)
launch(this);
Error in Simulink.scopes.TimeScopeBlock/open (line 37)
setVisible(hScopeSpec,'on');
Error in Simulink.scopes.TimeScopeBlock/load>@()open(this,preShowCallBackExists) (line 37)
callBack = @() open(this, preShowCallBackExists);
Error in Simulink.BlockDiagram/addCallback>i_execute (line 47)
fcn();
Error in Simulink.BlockDiagram/addCallback (line 39)
i_execute(obj,type,id,fcn);
Error in Simulink.scopes.TimeScopeBlock/load (line 38)
mdlObj.addCallback('PreShow',['Scope',num2hex(block)],callBack);
Error in openmdl (line 12)
evalin('base', ['open_system(''' strrep(filename, '''','''''') ''');'] );
Error in open (line 158)
feval(openAction,fullpath);
Error in uiopen (line 167)
open(fn);

回答 (4 件)

Esther
Esther 2015 年 12 月 8 日
This was the resolution method after contacting Technical Support: Create a new Windows System variable:
  1. Click on the start icon
  2. Right click on computer and choose properties
  3. On the left hand side of the window click on 'Advanced System Settings'
  4. Click on the 'Advanced' tab if it isn't selected already
  5. Once in the 'Advanced' tab, click on the 'Environment Variables' button
  6. Click on the 'New' button
  7. Add the following values to the window that appears:
  • The Variable Name: JAVA_TOOL_OPTION
  • The Variable Value: -Djava.net.preferIPv4Stack=true
  1 件のコメント
Galen Johney
Galen Johney 2016 年 9 月 28 日
This solution did not work for my installation.

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


AFTAB ALAM  ANSARI
AFTAB ALAM ANSARI 2017 年 11 月 22 日
Don't go for rubbish like "it's because of JAVA". This happens when MATLAB is blocked by some firewall that is blocking MATLAB from connecting to Internet. MATLAB uses Internet during Stimulation. Just exclude it from firewall and there you go. There will be no error.
  1 件のコメント
Srabanee Panda
Srabanee Panda 2019 年 8 月 29 日
how to do.can you please explain the steps

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


Walter Roberson
Walter Roberson 2015 年 10 月 10 日
I do not know why MATLAB Connector would be involved, unless you are trying to start Simulink over MATLAB Mobile.
But still... see if it helps to install (or reinstall) MATLAB Connector; http://www.mathworks.com/mobile/features.html
  2 件のコメント
Walter Roberson
Walter Roberson 2015 年 11 月 30 日
I wonder... possibly if you saved a subsystem when you had "connector on" in effect, then it might try to restore the connector when you loaded the module. Hypothetically.
Esther
Esther 2015 年 11 月 30 日
I also can't figure out why MATLAB Connector is referenced. Didn't use / have not used MATLAB mobile prior to this. But only observed it after clicking on "Get add-ons" failed.

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


Jack Two
Jack Two 2018 年 4 月 9 日
Config your firewall, allow matlab access the internet or lan.

カテゴリ

Help Center および File ExchangeIntroduction to Installation and Licensing についてさらに検索

Community Treasure Hunt

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

Start Hunting!

Translated by