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 件のコメント

Chad Greene
Chad Greene 2012 年 10 月 23 日
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.
Chad Greene
Chad Greene 2012 年 10 月 25 日
My upload has now been approved, spaces included, and FEX still does not recognize the functions as functions.
Sean de Wolski
Sean de Wolski 2012 年 10 月 25 日
Our servers have been very unhappy the last few days but they should be all good rested up now.
Chad Greene
Chad Greene 2012 年 10 月 25 日
Thanks Sean. If I try the upload again, do you think FEX will recognize the functions as functions?

サインインしてコメントする。

カテゴリ

ヘルプ センター および File ExchangeStartup 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