relation between variable name and program speed
조회 수: 1 (최근 30일)
이전 댓글 표시
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;
댓글 수: 0
답변 (1개)
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.
댓글 수: 0
참고 항목
카테고리
Help Center 및 File 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!