Effacer les filtres
Effacer les filtres

I can't start Matlab through Jenkins?

6 vues (au cours des 30 derniers jours)
Partha Mitra
Partha Mitra le 23 Sep 2018
Commenté : 건희 김 le 11 Août 2022
I have written few m scripts and made a windows batch file out of them. The created batch file ran as well when i try using cmd. But same batch file when i use in Jenkins, Matlab doesn't at all start? What should I do?
Eg: I am also trying as below (Simple way to check): Created a Batch File called Test.bat having below content:
C:\MATLAB\R2010b\bin\matlab.exe -r "disp('Hello World!')"
Now when I am putting this batch file (Test.bat) in Jenkins project as Execute windows batch command, I get following:
Console Output in Jenkins: Started by user admin Building in workspace C:\Program Files (x86)\Jenkins\workspace\Test [Test] $ cmd /c call C:\Windows\TEMP\jenkins7251338391131038286.bat
C:\Program Files (x86)\Jenkins\workspace\Test>C:\Partha\Try\20180917_Master\Test.bat
C:\Program Files (x86)\Jenkins\workspace\Test>C:\MATLAB\R2010b\bin\matlab.exe -r "disp('Hello World!')" Finished: SUCCESS
But Matlab is not started through this.

Réponses (1)

Nico Müller
Nico Müller le 22 Mai 2019
I have the same problem. Did you solved the problem?
  2 commentaires
Sameer Gadekar
Sameer Gadekar le 27 Avr 2022
Hello @Nico Müller @Partha Mitra ,I'm also facing similar issue. Could you please share the solution ?
건희 김
건희 김 le 11 Août 2022
Did you solved the problem?

Connectez-vous pour commenter.

Catégories

En savoir plus sur Introduction to Installation and Licensing dans Help Center et File Exchange

Produits


Version

R2010b

Community Treasure Hunt

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

Start Hunting!

Translated by