Does using my laptop while running MATLAB influence performance

조회 수: 22 (최근 30일)
Berlibur
Berlibur 2019년 1월 10일
편집: Stephen23 2019년 1월 10일
I am currently testing several TSP algorithms in matlab, and I am measuring a.o. the time each algorithm takes per instance.
Would using my laptop (Latex editor and chrome browser) influence the results (especially time)?

채택된 답변

OCDER
OCDER 2019년 1월 10일
Yes, if your browser and other OS are using a lot of resources. Computer resources are limited, hence, if other non-Matlab programs are hogging all the resources, then Matlab will slow down - or vice versa - Matlab can slow down all other OS programs.
Check your memory & cpu usage when running your TSP algorithm to see if it's using a lot. Your OS will determine which program gets priority in processing, and thus it's not something you can easily adjust in Matlab.
You could try optimizing Matlab codes that are inefficient (e.g., ones that are growing matrices). Use the matlab Profiler to determine the slow code.

추가 답변 (0개)

카테고리

Help CenterFile Exchange에서 Introduction to Installation and Licensing에 대해 자세히 알아보기

Community Treasure Hunt

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

Start Hunting!

Translated by