What does a blue circle on the "Run" button in Matlab mean? -
title pretty says all. running r2015a, , got appear in editor. there small blue circle appearing on "run" button. i've never seen before, , can't find documentation on mathworks website explains it's meaning.
what blue circle 3 dots mean?
when .m file contains function, not script, matlab lets configure "run" options. normal thing thrown error because "not enough input arguments", trying run function without giving any.
however, if click in small arrow below "run", can type default arguments pass function, when function run clicking green play. way, won't throw error. blue dots mean has written default argument , matlab telling run function them.
example:
function res= add(in1,in2) res=in1+in2 end default parameters , ans:
if try run code without having added default parameters give error.


Comments
Post a Comment