Having unimputed data default to a value
显示 更早的评论
Hello, I am writing a function that takes an input and size parameters and exports it as a dot file.
function(input, width, height)
incToDot(KGraph,width,height,1.0,NameofDotFile); (width height are size parameters for the dot file)
I like having the option to change the size parameters in the function but i would also like my function to default so that width and height are not needed. ie if i was simply to type in
function(input)
(it would default to)
incToDot(KGraph,8.0,8.0,1.0,NameofDotFile);
采纳的回答
更多回答(0 个)
类别
在 帮助中心 和 File Exchange 中查找有关 Simulink 3D Animation 的更多信息
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!