relation between variable name and program speed
2 ビュー (過去 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!