Clear Filters
Clear Filters

How to perform unit testing for matlab model

2 views (last 30 days)
I am new in matlab ,i want to know that for performing unit testing for matlab model . We need to perform unit testing on auto generated code or direct on matlab model it self?
Thanks Dharm
  1 Comment
Andy Campbell
Andy Campbell on 3 Oct 2017
Hi Dharm,
Can you clarify what you mean by MATLAB model? Are you using Simulink and then generating code automatically? Are you referring to using MATLAB Coder to write an algorithm in the MATLAB language and then generate code from that? I am confident we have some solutions for you, but it would be great if you could provide a few details as to what you are doing and which products you are using.
Thanks, Andy

Sign in to comment.

Answers (1)

Mohamed AKI Ahmed
Mohamed AKI Ahmed on 7 Mar 2022
I would recommend checking this video. It explains everything you need to start with for unit testing in MATLAB, after that you can refer to the documentations.

Categories

Find more on Embedded Coder in Help Center and File Exchange

Community Treasure Hunt

Find the treasures in MATLAB Central and discover how the community can help you!

Start Hunting!