Assigning single processor core in script
조회 수: 2 (최근 30일)
이전 댓글 표시
Hi, i am looking for a way to assignt a single core from within matlab.
i.e something like:
%%my script:
clc;
clear all;
%etc etc...
"restrict to one core"
tic;
% code goes here
toc;
"remove restriction again"
I know about the windows task manager way of restricting matlab to one core, but i am writing a script to surround a function with profiling and timing so it would be nice if all the user had to do was to execute this script.
thx in advance!
댓글 수: 2
Walter Roberson
2013년 8월 12일
It is possible to start up MATLAB restricted to one thread: would that be satisfactory?
답변 (0개)
참고 항목
카테고리
Help Center 및 File Exchange에서 Multicore Processor Targets에 대해 자세히 알아보기
제품
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!