Running multiprocess applications from MATLAB

后端 未结 3 1047
臣服心动
臣服心动 2021-01-18 15:58

I\'ve written a multitprocess application in VC++ and tried to execute it with command line arguments with the system command from MATLAB. It runs, but only on one core ---

3条回答
  •  说谎
    说谎 (楼主)
    2021-01-18 16:27

    Run the command outside of Matlab and see how many cores its using. There should be no difference running it from within Matlab because its just a call down to the operating system. IE. equivalent from running on command line.

    EDIT

    Ok odd, what do you get when you call feature('NumCores') ? What version of Matlab are you using?

    Does it help to enable this?

    Hosted by imgur.com

提交回复
热议问题