立即注册 登录
气象家园 返回首页

packard的个人空间 http://bbs.06climate.com/?87401 [收藏] [复制] [分享] [RSS]

日志

Matlab create function in script file (R2016b+)

已有 70 次阅读2018-8-22 23:12 |个人分类:matlab


Functions defined using keyword "function" must be defined within a file, not at the command line.

Function defined in "function file"
Often, you store a function in its own file. In that case, the best practice is to use the same name for the function and the file.
Function defined in "script file"
"Starting in R2016b, another option for storing functions is to include them at the end of a script file."

评论 (0 个评论)

facelist doodle 涂鸦板

您需要登录后才可以评论 登录 | 立即注册

Copyright ©2011-2014 bbs.06climate.com All Rights Reserved.  Powered by Discuz! (京ICP-10201084)

本站信息均由会员发表,不代表气象家园立场,禁止在本站发表与国家法律相抵触言论

返回顶部