Info

La pregunta está cerrada. Vuélvala a abrir para editarla o responderla.

operation problem after use 'qlogin' in linux system

1 visualización (últimos 30 días)
Yu Li
Yu Li el 6 de Jul. de 2019
Cerrada: Yu Li el 6 de Jul. de 2019
Hi:
in the linux system, I log into a node and want to check the cores available for parallel computing, below is my code:
module load matlab/R2018b
matlab -nosplash -nodesktop
system('qlogin')
numcores = feature('numcores')
but Matlab reported error:
Badly placed ()'s.
however, if I log into a node and run Matlab first, I'm able check number of cores:
module load matlab/R2018b
matlab -nosplash -nodesktop
numcores = feature('numcores')
so just want know, is there any mistake with my operation?
Thanks!
Yu

Respuestas (0)

Community Treasure Hunt

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

Start Hunting!

Translated by