FEX not recognizing functions

The Mathworks File Exchange (FEX) site occasionally has difficulty in properly recognizing my uploaded files as functions. FEX misidentifies them as plain scripts. Today's upload http://www.mathworks.com/matlabcentral/fileexchange/38710-get-land-surface-temperatures included three functions, but none of them were correctly identified. In another instance, FEX decided that most, but not all of my functions were indeed functions http://www.mathworks.com/matlabcentral/fileexchange/35258-unit-converters. Is this something I'm doing wrong, or is it a FEX glitch?

回答(1 个)

Jim Hokanson
Jim Hokanson 2012-10-23
编辑:Jim Hokanson 2012-10-23

0 个投票

Looks like a spacing issue to me. Specifically it looks like there is no space following the word "function".
function[args] vs function [args]

4 个评论

Interesting thought. Perhaps that's the problem for the land surface temperature functions. But they do function properly in Matlab, space or no space. And the unit converter functions all have a space, but some get identified as functions on FEX and some do not.
We will see if the inclusion of a space fixes the problem for the land surface temperature functions. Unfortunately, I have been attempting to update them since yesterday but the FEX site keeps giving me this message:
We're sorry, but something went wrong.
But perhaps that's another issue entirely.
My upload has now been approved, spaces included, and FEX still does not recognize the functions as functions.
Our servers have been very unhappy the last few days but they should be all good rested up now.
Thanks Sean. If I try the upload again, do you think FEX will recognize the functions as functions?

请先登录,再进行评论。

类别

帮助中心File Exchange 中查找有关 Startup and Shutdown 的更多信息

标签

提问:

2012-10-22

Community Treasure Hunt

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

Start Hunting!

Translated by