are script based unit test supported by matlab 2017a?

1 Ansicht (letzte 30 Tage)
Fabio Rondina
Fabio Rondina am 22 Jul. 2022
Kommentiert: Fabio Rondina am 22 Jul. 2022
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 Kommentare
Steven Lord
Steven Lord am 22 Jul. 2022
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 am 22 Jul. 2022
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

Melden Sie sich an, um zu kommentieren.

Akzeptierte Antwort

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

Melden Sie sich an, um zu kommentieren.

Weitere Antworten (0)

Kategorien

Mehr zu Loops and Conditional Statements finden Sie in Help Center und File Exchange

Produkte


Version

R2017a

Community Treasure Hunt

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

Start Hunting!

Translated by