system(...) yields different results than Terminal application on mac
    5 Ansichten (letzte 30 Tage)
  
       Ältere Kommentare anzeigen
    
    Lucas-Raphael Müller
 am 10 Sep. 2017
  
    
    
    
    
    Beantwortet: the cyclist
      
      
 am 10 Sep. 2017
            Currently I try to trigger latex compiling out of matlab. On windows it works fine with
system('xelatex arbitrarytex.tex')
however on mac it says
/bin/bash: xelatex: command not found
However it works if I write the exact same command in terminal application by hand. Probably environmental variables are not loaded, however there is neither ~/.bashrc nor ~/.bash_profile existing on my system. I figure there must be another file to load before accessing system default variables? Someone familiar with that?
0 Kommentare
Akzeptierte Antwort
Weitere Antworten (0)
Siehe auch
Kategorien
				Mehr zu File Operations 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!

