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?

Risposte (1)

Jim Hokanson
Jim Hokanson il 23 Ott 2012
Modificato: Jim Hokanson il 23 Ott 2012

0 voti

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 Commenti

Chad Greene
Chad Greene il 23 Ott 2012
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 il 25 Ott 2012
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.
Chad Greene
Chad Greene il 25 Ott 2012
Thanks Sean. If I try the upload again, do you think FEX will recognize the functions as functions?

Accedi per commentare.

Categorie

Tag

Richiesto:

il 22 Ott 2012

Community Treasure Hunt

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

Start Hunting!

Translated by