Solved


How to subtract?
*&plusmn &plusmn &plusmn &plusmn &plusmn &plusmn &plusmn &plusmn &plusmn &plusmn &plusmn* * Imagine you need to subtract one...

6 years ago

Published


Hola to the developers in Spain
If you are in Madrid, Spain at the Big Data Spain conference, please do come and visit us at booth #8. We have some...

6 years ago

Thumbnail

Published


Driving Productivity … Without Losing Control
Hi all, today I'd like to turn the time over to Matt Tearle from our Training Services group who has a great story to share...

6 years ago

Thumbnail

Published


We’ve Got You Covered
Coverage. It's all good. Health care coverage is good. Cell phone coverage is good. Even cloud coverage can provide a nice...

7 years ago

Thumbnail

Answered
How is the execution order defined between multiple tests within matlab.unittest.TestCase.run?
Hi William, The order is not guaranteed by design. This is so that the tests can follow the principle of <http://xunitpattern...

7 years ago | 1

Published


The (Build) Matrix Laboratory
Ah the joys of a new release! R2017b is now out and packed with some great new features. So here I go, heading out to an...

7 years ago

Thumbnail

Answered
Executing function inside script-based unit test?
Hi Nick, I might be missing something here, but you just execute the function from within your script based test. Does your f...

7 years ago | 0

Published


Packaging Pitfalls
Hello readers, today we have another post from Amy, who is here to share more of her valuable experience deploying...

7 years ago

Thumbnail

Published


All things on the Tableau
Guess what? Tableau® has been updated to provide direct support for MATLAB algorithms via MATLAB Production Server! Now you...

7 years ago

Thumbnail

Published


Don’t Mock Me!
Hi folks, it's been a long time! Thanks for your patience as we have a lot of great incubating topics to discuss on the...

7 years ago

Thumbnail

Answered
(How) Is it possible to set the 'Details' Property of a TestResult object in the Matlab Unit Test Framework?
Hi Alex, While this is not currently available, the purpose and principle behind the Details property is indeed that it can s...

7 years ago | 0

Answered
Create a MATLAB Unit Test Suite to Test a Simulink Model
Hi Trevor, This was a feature introduced in R2016b. <https://www.mathworks.com/help/sltest/release-notes.html#bvb748x-1 Here>...

7 years ago | 0

| accepted

Answered
How can I set a unit test class variable from a test function?
Hello mg, In order to support the principle of <http://xunitpatterns.com/Principles%20of%20Test%20Automation.html#Independent...

7 years ago | 1

| accepted

Published


Testing for Model-Based Design
Hi all, if you haven't seen it already, I wanted to make sure you were aware of some of the great testing related posts that...

7 years ago

Thumbnail

Published


The Fast and the Fouriers!
UPDATE: We did it and it was a lot of fun! It looks like the tracking worked out as well so that was fun to see. One slight...

7 years ago

Thumbnail

Published


From the MATLAB Command Prompt to the Cloud
A familiar blinking cursor at the MATLAB command prompt greets me as I look away from the grey clouds overhead - the kind...

7 years ago

Thumbnail

Channel


The Fast and the Fouriers

7 years ago

Published


Properties of properties
A while ago we discussed a good reason to appreciate and use MATLAB's model for properties. It had to do with encapsulation...

7 years ago

Thumbnail

Published


What About the Apps, I Hear You Ask?
Hi all, if you are not yet aware, the R2017a release of MATLAB is now available, and it's packed full of features! If you...

7 years ago

Thumbnail

Solved


Fibonacci sequence
Calculate the nth Fibonacci number. Given n, return f where f = fib(n) and f(1) = 1, f(2) = 1, f(3) = 2, ... Examples: Inpu...

7 years ago

Solved


Words Count: A String Array Approach
Given an input character vector consisting of words, punctuation marks, white spaces, and possibly newline characters (\n), arra...

7 years ago

Solved


Combine the first and last names
MATLAB R2016 provides a rich set of functions to work with string arrays. In this problem, you will be given two string arrays o...

7 years ago

Published


Accessing Twitter with HTTP Interface in MATLAB
Folks, today we have a nice collaboration between blogs. If you haven't already seen it, Toshi Takeuchi just posted on...

7 years ago

Thumbnail

Answered
Good examples for projects with unittests?
Hi Andreas, Here are a couple things to get you started: * The test framework <https://www.mathworks.com/help/matlab/matla...

7 years ago | 0

Answered
How to create a plugin that stores the exception from a failing test
This is probably a dup of <http://www.mathworks.com/matlabcentral/answers/108592#answer_127796 this question> as per isakson poi...

7 years ago | 0

Answered
Can I set unit test TestParameter properties using functions not on the path?
Hey Matt, The problem at play here is the fact that your test class definition itself (what happens the first time you load t...

7 years ago | 0

| accepted

Published


Best Practices – Adapt, then Adopt!
Hi everyone, I hope that you all had a nice holiday season and that your new year is off to a great start. Amy is here...

7 years ago

Thumbnail

Published


Give Them a Care Package
As a nice follow up to last post, I'd like to introduce you to Amy Koh, who is a technical consultant in...

7 years ago

Thumbnail

Answered
Is there a way share TestParameter and ClassSetupParameter properties of unit test class?
Hi Yvan, it sounds like you simply need access to the same parameters in a TestClassSetup as you do in one or more of your te...

7 years ago | 1

| accepted

Published


Operationalizing MATLAB
Operationalizing MATLABIn this post, I'll describe how to operationalize MATLAB. By "operationalize" I mean taking MATLAB...

7 years ago

Thumbnail

Load more