How to perform unit testing for matlab model

2 次查看(过去 30 天)
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 个评论
Andy Campbell
Andy Campbell 2017-10-3
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

请先登录,再进行评论。

回答(1 个)

Mohamed AKI Ahmed
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.

类别

Help CenterFile Exchange 中查找有关 Testing Frameworks 的更多信息

标签

Community Treasure Hunt

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

Start Hunting!

Translated by