Info

この質問は閉じられています。 編集または回答するには再度開いてください。

operation problem after use 'qlogin' in linux system

1 回表示 (過去 30 日間)
Yu Li
Yu Li 2019 年 7 月 6 日
閉鎖済み: Yu Li 2019 年 7 月 6 日
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

回答 (0 件)

Community Treasure Hunt

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

Start Hunting!

Translated by