How to perform unit testing for matlab model
1 view (last 30 days)
Show older comments
Dharm Singh on 3 Oct 2017
Answered: Mohamed AKI Ahmed on 7 Mar 2022
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?
Andy Campbell on 3 Oct 2017
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.
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.
Find more on MATLAB 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!