Matlab中的多行匿名函数? [英] Multiline anonymous function in Matlab?

查看:370
本文介绍了Matlab中的多行匿名函数?的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

是否可以在Matlab中创建多行匿名函数?

Is it possible to create multiline anonymous function in Matlab?

文档中没有适当的示例,但也没有没有直接否认.在网上讨论中,我发现一些询问者的嘲笑似乎是愚蠢的愿望.如今,当大多数语言引入具有多行功能的lambda表达式时,这看起来很奇怪.

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.

推荐答案

否,不幸的是,这不可能.

No, unfortunately this is not possible.

这篇关于Matlab中的多行匿名函数?的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆