Not enough input arguments

 采纳的回答

You have to call your function as:
x = 42;
y = fun(x);
Simply using the ‘Run’ option by clicking the green arrow in the Editor will not work.

更多回答(0 个)

类别

帮助中心File Exchange 中查找有关 Just for fun 的更多信息

标签

Community Treasure Hunt

Find the treasures in MATLAB Central and discover how the community can help you!

Start Hunting!

Translated by