are script based unit test supported by matlab 2017a?

1 次查看(过去 30 天)
Hi all, I am learning MatLab but I am not an engineer
are script based unit test supported by matlab 2017a?
How can I understand from the online documentation what is the accepted format I have to use for 2017a?
I copied the example on a folder but when I try to run Matlab output tell me that there is not test on that folder
  2 个评论
Steven Lord
Steven Lord 2022-7-22
I copied the example on a folder but when I try to run Matlab output tell me that there is not test on that folder
Can you show us the code you used to try to run the tests in that folder and the output that MATLAB displayed? The exact text of whatever message MATLAB displayed may help us offer guidance on how to successfully run those tests.
Fabio Rondina
Fabio Rondina 2022-7-22
found the solution Steve, I just needed to remove them from the package and store them on a folder that does not has the + sign at the beginning and everything worked as expected. Thanks anyway

请先登录,再进行评论。

采纳的回答

Cris LaPierre
Cris LaPierre 2022-7-22
编辑:Cris LaPierre 2022-7-22
The functions associated with script-based unit tests were introduced by R2016a. So yes, script-based unit tests are supported in R2017a.
  1 个评论
Fabio Rondina
Fabio Rondina 2022-7-22
Thanks Cris that at least clarify that the problem is related to something I did not set correctly

请先登录,再进行评论。

更多回答(0 个)

类别

Help CenterFile Exchange 中查找有关 Loops and Conditional Statements 的更多信息

产品


版本

R2017a

Community Treasure Hunt

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

Start Hunting!

Translated by