Multiline anonymous function in Matlab? [duplicate]

送分小仙女□ 提交于 2019-12-07 09:28:18

问题


Is it possible to create multiline anonymous function in Matlab?

There are no appropriate examples in documentation, but also no direct denials. In web discussions I found some derisions of askers as if it silly wish. Nowadays, when most languages introducing lambda expressions with multiline capability this looks strange.


回答1:


No, unfortunately this is not possible.



来源:https://stackoverflow.com/questions/29180642/multiline-anonymous-function-in-matlab

易学教程内所有资源均来自网络或用户发布的内容,如有违反法律规定的内容欢迎反馈
该文章没有解决你所遇到的问题?点击提问,说说你的问题,让更多的人一起探讨吧!