Close

Testing Simulink Models on Linux

Testing Simulink Models on Linux
Testing Simulink Models on Linux

Testing Simulink and Targetlink in the cloud with Linux? Why? It’s faster, it’s scalable and cost savings of up to 60% are possible.

Testing always requires three things:

1. the test object – meaning, what is to be tested
2. an infrastructure with which the test object is stimulated, measured and evaluated
3. test cases which, in the best case, generate meaningful stimuli.

The test object is what you want to check. If you use Simulink or Targetlink, you have corresponding models that are to be tested.  In TPT testing generated code is a lot faster than testing a model. If you want to know more about c-code testing, take a look here
 
The speed of testing also depends on the infrastructure. To test Simulink or Targetlink models you need: TPT, Matlab, the operating system, the computing unit and, if necessary, the connected periphery.  
 
For testing MATLAB Simulink models, MATLAB is needed as an environment. TPT is also indispensable if you want your software testing to be efficient and effective.  
 
What remains is the operating system and the computing unit. For the operating system, you can choose between Windows and Linux.  But tests run faster on Linux.

Why? Because of fewer interrupts, less memory consumption, … and the list goes on.  
 
It is important for you to know: Tests of models can now be run with TPT 19 and MATLAB under Linux.  
 
You can get even faster if you run scalable tests in the cloud. For this we provide a Docker script for our TPT headless version. Docker offers you further advantages. Learn more here

However, testing Simulink models on Linux also works with virtual machines (VM). At AWS these are called Amazon Machine Images (AMI). The advantage of starting with VM is that you don’t have to script immediately and can test your images in advance. 

The operating costs of a Linux AMI instance are significantly lower (up to 60%) compared to a Windows AMI instance (cf. on-demand prices for EC2 in AWS). 

Do you already have experience with TPT? Then you can start immediately. Our headless version can be found in our download section

You don’t know TPT yet? Let us show you. Book your appointment today  

Related topics

Test Levels and Test Terms. 101 of Automotive Testing.
Test Levels and Test Terms. 101 of Automotive Testing.
Read more  »
What is Model-in-the-Loop Testing? Introduction to MiL Testing
What is Model-in-the-Loop Testing? Introduction to MiL Testing.
Read more  »
Software-in-Loop testing and how you do it
What is SiL Testing? Software-in-Loop testing and how you do it.
Read more  »
Watch the tutorial. First Steps with TPT.
Watch the tutorial. First Steps with TPT.
Watch now  »
Automatons in TPT. Test Design with Automatons
Automatons in TPT. Test Design with Automatons.
Watch now  »
Simulink Model Testing with TPT using the TPT Toolbox
Simulink Model Testing with TPT using the TPT Toolbox.
Watch now  »