When I try to run a simple plot script, I get the following error?
5 Ansichten (letzte 30 Tage)
Ältere Kommentare anzeigen
Unable to initialize connector: null
java.lang.IllegalStateException: Error initializing Connector implementation
at com.mathworks.matlabserver.connector.api.Connector.getImpl(Connector.java:22)
at com.mathworks.matlabserver.connector.api.Connector.ensureServiceOn(Connector.java:137)
at com.mathworks.mde.editor.plugins.editordataservice.IsEditorExecutingFeature.setMessageService(IsEditorExecutingFeature.java:69)
at com.mathworks.mde.editor.plugins.editordataservice.IsEditorExecutingFeature.publish(IsEditorExecutingFeature.java:55)
at com.mathworks.mde.editor.plugins.editordataservice.IsEditorExecutingFeature.setEditorIsExecuting(IsEditorExecutingFeature.java:51)
at com.mathworks.mde.embeddedoutputs.RegionEvaluator.markEditorAsExecuting(RegionEvaluator.java:379)
Error using matlab.internal.editor.evaluateCode
Java exception occurred:
org.apache.commons.lang.NotImplementedException: Connector is not running. Use
Connector.ensureServiceOn() to ensure it is running before using it.
at
com.mathworks.messageservice.MessageServiceFactory.getBuilder(MessageServiceFactory.java:39)
at
com.mathworks.messageservice.MessageServiceFactory.getMessageService(MessageServiceFactory.java:17)
at
com.mathworks.mde.editor.plugins.editordataservice.IsEditorExecutingFeature.setMessageService(IsEditorExecutingFeature.java:73)
at
com.mathworks.mde.editor.plugins.editordataservice.IsEditorExecutingFeature.publish(IsEditorExecutingFeature.java:55)
at
com.mathworks.mde.editor.plugins.editordataservice.IsEditorExecutingFeature.setEditorIsExecuting(IsEditorExecutingFeature.java:51)
at
com.mathworks.mde.embeddedoutputs.RegionEvaluator.markEditorAsExecuting(RegionEvaluator.java:379)
0 Kommentare
Antworten (1)
Kritika Bansal
am 16 Jan. 2020
Hi,
You can try a couple of things to fix it:.
1.Type the following command in MATLAB command prompt to see if you have the connector installed:
which -all connector
2. If you don't see any connectors installed, run MATLAB as administrator and install the connectors.
3. Also there may be a possibility that the path to the connector folder is not added, try adding it manually.
0 Kommentare
Siehe auch
Kategorien
Mehr zu Introduction to Installation and Licensing finden Sie in Help Center und File Exchange
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!