MATLAB FEX now supports previewing files in a new standalone tab!
Over the past few days I noticed a minor change on the MATLAB File Exchange:
For a FEX repository, if you click the 'Files' tab you now get a file-tree–style online manager layout with an 'Open in new tab' hyperlink near the top-left. This is very useful:
If you want to share that specific page externally (e.g., on GitHub), you can simply copy that hyperlink. For .mlx files it provides a perfect preview. I'd love to hear your thoughts.
EXAMPLE:
🤗🤗🤗
11 Comments
Time DescendingThanks for sharing, I'm quite excited by this too! I've recently worked with EXTRACT (recently led by @Fatih Dinc) and mTRF Toolbox (@Mick Crosse) on showing select/featured live script examples on their GitHub READMEs, but those links needed to be updated with new releases. This change brings stable links, so this 'example-forward' approach to a README can now be more widely recommended/suggested.
Nice indeed.
I suggest fixing the preview for images - it currently streches the images to 100% height even if the width does not fit the display pane's width, and enlarges the images to fit the height. I think it would be best to (1) only shrink the image as needed, not enlarge it, and (2) take into consideration the max-width as well as the max-height
For *.md files, the preview renders text styling as expected, but images are not displayed for some unknown reason.
This is awesome!
@xingxingcui, the link you provided took a while to load for me - it's a big file. Here's one that loads quicker: https://viewer.mathworks.com/addons/182645/1.0.0/files/basic_TPS/example.mlx
Sign in to participate