MATLAB Community

MATLAB, community & more

The MATLAB Store at Jaguar Land Rover 4

Posted by Ned Gulley,

If you work at an enterprise where a lot of your peers also write MATLAB code, you might have pondered the following problem: how can we share MATLAB files with each other? At first this seems like an easily solved problem. Just dump everything you want to share into a big directory that everybody knows about.

But right away complications arise. Here are some issues that come up with a company code repository.

Submission – How do you submit code? What format should it take? Who decides what goes in?
Organization – How is it organized? Who curates the code? Who supports it?
Discovery – How will people find out about it? How is it promoted?
Distribution – How do people download and install the code?

Enterprises that create simple code repositories (like the aforementioned single-directory approach) are rarely happy with the results. The resulting directory is like a big “junk drawer” filled with unmotivated odds and ends.

junk

Moving to the other end of the spectrum, we sometimes hear this question from people who use and enjoy the MATLAB Central File Exchange: can you give us a local version of the File Exchange, one that will just work internally and privately at our company? We don’t think this is a bad idea, but the File Exchange is a complex piece of software that’s deeply tied to our internal systems. It’s just not built to ship to other locations.

Over the years, we have seen many enterprises come to grief over how to share MATLAB code internally. I know of several failures, but today I want to tell you about one spectacular success. Jaguar Land Rover is a British auto manufacturer, and they use a lot of MATLAB. Working with the MathWorks Consulting team, they created something they call the MATLAB Store. It looks like this.

jlr-matlab-store

The JLR MATLAB Store contains code that is shared among specific teams and also code that is shared across all engineers at the company. It leverages the toolbox packaging introduced in release R2014b. It includes ratings, comments, and download counters. The Store is slick and it works very well, but I want to show you the secret ingredient for its success. This is Dave Barry.

dave-barry

Dave works at Jaguar Land Rover, and an important part of his job is to make sure that the MATLAB Store is healthy and successful. So when you look at a picture of the store, don’t imagine that it’s just a matter of getting the right code repository in place. Jaguar Land Rover went out of their way to create a culture of competence and collaboration. They value this goal so highly that they have dedicated staff like Dave to promote and support MATLAB and the MATLAB Store. Dave recently gave a talk about this topic at the UK MATLAB Expo. I encourage you to watch it here.

The Adoption of MATLAB Apps and Toolboxes at Jaguar Land Rover

By now you may be thinking, okay Ned, you’ve convinced me that I don’t want the Junk Drawer approach, and I realize I can’t have my own private File Exchange, but can you please give me a copy of the Jaguar Land Rover MATLAB Store? The answer is no, I can’t. It IS lovely, but it belongs to Jaguar Land Rover. I suppose you could ask them for a copy of it. If you’d like something like that built for you, you can always contact our Consulting Services group. But MathWorks consultant David Sampson has an even better deal for you: he’s built a simple MATLAB Minimart with the most important elements of the JLR MATLAB Store built right in. And it’s available to you right now for free on the File Exchange.

Kind of meta, getting a mini File Exchange from the File Exchange, huh?

Anyway, the next two posts on this blog (Part 1 and Part 2) are going to be from David Sampson. He’ll tell you how to set up and use the MATLAB Minimart. That’s terrific news, but remember it’s only part of the solution. If you want to create a MATLAB code repository at your university, your company, your working group or department, I leave you with this question: who is your Dave Barry? Who is going to be dedicated to making that repository healthy and successful? Because until you have built a true culture of collaboration, you’re probably just making another junk drawer.

Note

Comments are closed.

4 CommentsOldest to Newest

David Barry replied on : 1 of 4
Hi Ned. It was good to catch up around EXPO. Thanks for the post. I look forward to seeing the interest in David Sampson's FX Store AKA MATLAB Minimart.
Julian replied on : 2 of 4
Thanks for the post Ned. I really enjoyed Dave Barry's presentation at EXPO last month (we spoke afterwards), and it recalled an even earlier conversation with Ned (at a another EXPO) about whether an in-house FEX might just be possible! Oddly around that time MathWorks had just deprecated a built-in FEX that you could access within MATLAB itself. I was only just talking about this with the local MathWorks office so it's really interesting to learn about David Sampson's new "minimart" and I shall certainly be taking it out for a spin...
Ned Gulley replied on : 4 of 4
Thanks for the comment Julian. You're probably remembering our old "File Exchange in MATLAB" feature. It did go away for a while, but that functionality has been redesigned and expanded in the Add-Ons Explorer. So if you have the latest version of MATLAB, go to the "Home" tab and click on "Add-Ons". You can search for, and directly install, David's Minimart. The Add-Ons machinery is pointing at the same source file as the File Exchange, so you're getting the same file.