relation between variable name and program speed

조회 수: 1 (최근 30일)
boureghda mohammed
boureghda mohammed 2016년 10월 6일
편집: Matthias Walle 2016년 10월 6일
Is the variable name affects the speed of the program or memory storage. if a take for example a variable like
par = 10; or
parameter = 10;

답변 (1개)

Matthias Walle
Matthias Walle 2016년 10월 6일
편집: Matthias Walle 2016년 10월 6일
you can use the
tic
%Code
toc
Function to compare the speed. My bet is that you can chose any name and it wont affect the program speed by much or even not at all same goes for storage.

카테고리

Help CenterFile Exchange에서 Scope Variables and Generate Names에 대해 자세히 알아보기

Community Treasure Hunt

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

Start Hunting!

Translated by