MATLAB SIMULINK VERIFICATION AND VALIDATION - S Uživatelská příručka Strana 404

  • Stažení
  • Přidat do mých příruček
  • Tisk
  • Strana
    / 674
  • Tabulka s obsahem
  • KNIHY
  • Hodnocené. / 5. Na základě hodnocení zákazníků
Zobrazit stránku 403
18 Coverage Collection During Simulation
18-38
S-Function Using S-Function Builder
1
Copy an instance of the S-Function Builder block from the User-Defined
Functions library in the Library Browser into the your model.
2
Double-click the block to open the S-Function Builder dialog box.
3
On the Build Info tab, select Enable support for coverage.
S-Function Using mex Function
If you use the mex function to compile and link your source files, use the slcovmex
function instead. The slcovmex function compiles your source code and also makes it
compatible with coverage.
This function has the same syntax and takes the same options as the mex function.
In addition, you can provide some options relevant for model coverage. For more
information, see slcovmex.
Generate Coverage Report for S-Function
1
Select Analysis > Coverage > Settings.
2
On the Coverage tab, select Coverage for S-Functions.
Zobrazit stránku 403
1 2 ... 399 400 401 402 403 404 405 406 407 408 409 ... 673 674

Komentáře k této Příručce

Žádné komentáře