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?

Answers (1)

Jim Hokanson
Jim Hokanson on 23 Oct 2012
Edited: Jim Hokanson on 23 Oct 2012
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 Comments

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?

Sign in to comment.

Categories

Tags

Asked:

on 22 Oct 2012

Community Treasure Hunt

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

Start Hunting!