File Exchange: how to "Link to an External Website"

3 views (last 30 days)
According to https://www.mathworks.com/matlabcentral/content/fx/about.html I should be able to share my code without uploading a file, just by linking to my website.
When I try to Publish to File Exchange, I have "My code is on Github", "My code is on my computer" but I have no "Link to an External Website".
Where is this feature ?
  6 Comments
Jamie Mullin
Jamie Mullin on 28 Jan 2025
Thanks. we updated them. You can now create new github releases for each and then upload mltbx to them that have fiels for both windows and linux.
urx: currently has github release 1.1.0. so you could create 1.2.0 or 1.1.1 (and ensure the vesion number in the mltbx matches it)
uac: currently has github release 1.0.2. so you could create 1.0.3 or 1.1.0 (and ensure the vesion number in the mltbx matches it)
Moduleus
Moduleus on 12 Feb 2025
@Jamie Mullin Thanks, I published a new version of "uac" and the file exchange page has been automatically updated. Perfect.

Sign in to comment.

Accepted Answer

埃博拉酱
埃博拉酱 on 21 Jan 2025
Edited: 埃博拉酱 on 21 Jan 2025
If the feature has been removed, it shouldn't appear in the documentation. If the claimed feature of the document does not exist, then at least one of the features and documentation is an error. You can send feedback on the website. As a workaround, you can try linking your external website as a GitHub mirror before connecting to GitHub from File Exchange.
File Exchange doesn't support downloading different toolboxes depending on the user's operating system. If you compile different dynamic libraries for different operating systems, I recommend that you judge the current operating system at runtime and choose the correct library. Another scenario is to provide a doc/GettingStarted.mlx document that will automatically open after the user installs the toolbox. In this document, you can write scripts that automatically download the appropriate dynamic libraries.
File Exchange's connection system to GitHub is very unrobust and errors occur frequently. I suggest you consult @Randy Souza, who appears to be the internal staff in charge of the File Exchange system.
  1 Comment
Moduleus
Moduleus on 22 Jan 2025
Thank you for your feedback. I have reported the issue.
I will work on creating a single toolbox compatible with both Windows and Linux.
For now, I will keep my project as it is. It's not perfect, but I still don’t fully understand how File Exchange integrates with GitHub. The most important thing is to have a way to share the toolbox, and it will be improved soon.

Sign in to comment.

More Answers (0)

Categories

Find more on Software Development Tools in Help Center and File Exchange

Community Treasure Hunt

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

Start Hunting!