zlacker

[parent] [thread] 0 comments
1. henrik+(OP)[view] [source] 2020-12-01 07:38:33
Just tested it and it worked fine. Note that your function takes too many parameters in its definition and that functions can't be passed as parameters by name.

It is definitely not as elegant as the built-in facility in J, but definitely doable and usable in Matlab. In fact, I think any language with flexible enough function overloading should be able to implement such a feature.

[go to top]