Developer Zone

Advanced Software Development with MATLAB

Results for: 2015

Open and extensible 10

Posted by Arvind Hosagrahara,

Keep clam and use spellcheck

MATLAB is an open and extensible platform unique in its ability to dovetail with best-in-class technologies. Open, refers to the fact that much of MATLAB functionality is shipped in MATLAB files whose source can be studied. The community driven contributions on File Exchange has grown over the years to a scale that rivals the code that ships on the DVD. Extensible, refers to MATLAB's ability to integrate with other languages and technology stacks.... read more >>

You’ve Got Mail! 10

Posted by Andy Campbell,

Today I wanted to share some fun I've been having with customizing the emails sent from my Jenkins builds. This was inspired by Narendra's comment on a previous post. So, getting to it, I took a quick look after reading the comment and found the Email-ext plugin that enables customization of the emails that are sent to administrators and code committers (offenders?) for failing or unstable builds. Out of the box, this plugin sends an email that lists the failing tests that were encountered. While this is nice, it doesn't pass muster in my book. Why?
  1. It is very much catered to JUnit test results by default. These aren't JUnit results #forgoodnesssakes! We are talking MATLAB code here! I want the CI system configuration to be production grade just like the code it is integrating, which means we don't accept calling MATLAB test results JUnit test results!
  2. Showing the failed tests is nice but I also want to see the diagnostics. If we have a chance to know immediately what the problem is then I don't want to have to click through to have to figure this out. Having the diagnostics in the email might mean I know exactly why the build fails when I get the email on my phone while riding the T on my way home. The remaining ride then has the benefit of valuable brain cycles already figuring out the solution. If I have to click through? No dice.
... read more >>

Format Sibling Rivalry 7

Posted by Andy Campbell,

Goodness time flies! It has been a while since we've had a blog update, While I really would like to keep the conversation we have going on here moving, this is how I would like you to envision what I have been up to recently:... read more >>

Tag like an Egyptian

Posted by Andy Campbell,

Ajay Puvvala is my friend and colleague at the MathWorks. He also led the development of the TestTags feature we spoke about last post.... read more >>

Tag, you’re it! 1

Posted by Andy Campbell,

I have found that with any reasonably sized software project, sooner or later organization becomes important. As additional features and capabilities are introduced into a toolbox it becomes important to quickly and easily get your hands on the right piece of code for the task at hand. When we are... read more >>

MATLAB in Business Critical Applications 1

Posted by Arvind Hosagrahara,

Andy: Today I'd like to introduce a fellow MathWorker with whom I will be tag teaming for content on this blog. His name is Arvind Hosagrahara and he is a principal technical consultant in the MathWorks Consulting Services group. He helps organizations use MATLAB in their business critical applications. Arvind... read more >>

Tear Down This Wall! 4

Posted by Andy Campbell,

I once faced a question from a friend who was perusing MATLAB documentation while implementing a test suite for some production software and found an example test which used the addTeardown method of the TestCase object. This person found themselves wondering why they might want to use it to... read more >>

Mix It Up and Mix It In 8

Posted by Andy Campbell,

What can we learn about software from an ice cream shop? Quite a bit apparently. It was in the early 70's that Steve's Ice Cream opened and introduced the world to the notion of mix-ins. The idea was simple but powerful. Lets produce a small amount of base ice cream... read more >>

Compose Yourself 11

Posted by Andy Campbell,

Last time we had a small discussion about the merits of keeping inheritance hierarchies shallow and avoiding the creation of deep, multi-level structures. This is all fine and dandy, but how do we actually achieve this end? After all, many people are keenly aware of the DRY principle whether by... read more >>