model is closing for each run

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

Using Matlab version 16b
Can you share your model?
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

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 Create Large-Scale Model Components in Help Center and File Exchange

Asked:

on 19 Mar 2018

Commented:

on 21 Mar 2018

Community Treasure Hunt

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

Start Hunting!