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!