Clear Filters
Clear Filters

model is closing for each run

2 views (last 30 days)
Gayatri Varada
Gayatri Varada on 19 Mar 2018
Commented: Gayatri Varada on 21 Mar 2018
Testframe and reference model is getting closed for each run. What is the reason for this? I have not given any close command for the model from the test environment. Please help me on this
  3 Comments
Birdman
Birdman on 19 Mar 2018
Can you share your model?
Gayatri Varada
Gayatri Varada on 20 Mar 2018
Its a client project and can not be shared. In general could you tell me what settings in the model or DD makes the model to get close and reopen after it is given for run

Sign in to comment.

Answers (1)

ES
ES on 20 Mar 2018
Edited: ES on 20 Mar 2018
Check the model Callbacks of the model specifically CloseFcn ,
https://in.mathworks.com/help/simulink/ug/model-callbacks.html
  1 Comment
Gayatri Varada
Gayatri Varada on 21 Mar 2018
Checked call backs -no commands are given to close the testframe and reference model. Still the same scenario exits like before starting the simulation the testframe and reference model is closed

Sign in to comment.

Categories

Find more on Testing Frameworks 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!