MATLAB Community

MATLAB, community & more

Add-Ons and the File Exchange 5

Posted by Ned Gulley,

Earlier today I was pondering the fact that I needed some new business cards when I had a sudden brain storm. A sort of a meta-recursive brainstorm, really. I could picture the design I wanted. But first I’d need some help from Steve Hoelzer.

Who’s Steve Hoelzer? Why he’s the genius behind the MATLAB Annoy-a-tron, but what I’m really interested in is his Droste Effect tool. I could search for it on the File Exchange, but right now I want to take you for a stroll through MATLAB’s Add-On Explorer. Because amazingly enough, you can find Steve’s Droste tool from right inside the heart of a living MATLAB. Not only that, you can install it with one click.

So let’s say you’re using MATLAB and you get a hankering for some Droste magic. On MATLAB’s Home tab, select “Get Add-Ons”.

This will open the Add-On Explorer. Incidentally, they’re called “Add-Ons” because you can add things not only from the File Exchange, but also MathWorks products, like toolboxes and blocksets. Right now we’ll search for the term “droste” and see what that turns up.

Bingo! There’s the file we’re looking for. Click on it so we can learn some more about it. It looks like it’s worth installing. Notice that under the Add button, I can click once and add it to my MATLAB. The Add-On Explorer is also showing me that I’ll need the Image Processing Toolbox in order for this tool to work properly. If I don’t have that toolbox installed, the Add-On Explorer can even guide me through the process of getting a trial.

I add the file to MATLAB, and immediately I’m able to run the code. So here is the effect I’m after: the Droste effect occurs when an image recursively includes itself. Here is the sample image supplied by Steve.

And now you can see my new business card.

If at some point in the future I wanted to remove the Droste Effect tool, I could go up to the Add-On Manager like so.

There I am presented with a list of my current Add-Ons, any one of which I can uninstall.

The Add-On manager opens up a new window on the File Exchange. Discover, add, and manage your files directly from inside MATLAB.


Comments are closed.

5 CommentsOldest to Newest

Dan K replied on : 1 of 5

I would love to know when the add-on manager will be able to start informing about updates to FEX add-ons. That was one of the amazing features about the old fex toolbox, which sadly stopped working when the file exchange was updated several years ago. I’ve tried several other tools for doing automatic update checking (watchlists, check4update, etc.), and I’m very appreciative to those authors who have tried to achieve it, but it seems like a very reasonable capability to incorporate into Matlab’s internal tool.


Dan K replied on : 2 of 5

One other request: It would be nice if it could filter based on unmet requirements… My company is unlikely to license additional toolboxes for me, so being able to filter out capabilities that I can’t use would be nice.

Sean Cote replied on : 3 of 5

We are actively working on providing updates for Add-Ons for an upcoming release.

As for your second request, we want to ensure that users are always aware of all of the capabilities available to them. We do, however, want to make it clear when requirements are not met, and make it easy for users to meet them and access the capabilities they want as quickly as possible, for example, by making it quick and easy to get a product trial so that you can use an add-on that depends on it.

David Barry replied on : 4 of 5

Ahh finally a disable button! What release was this introduced in Ned, or are we looking at a glimpse of the future?

Hello David! Thanks for the note. You’ve caught me out on that one! Consider it, as you say, a glimpse of the future. I updated the figure to bring it in line with the current release, but “Disable” is on the way…