MATLAB CLOSE THROUGH M-script

6 views (last 30 days)
Arunkumar A
Arunkumar A on 19 Jun 2019
Answered: Champuram Madhu on 5 Mar 2020
In R2017b, By using Target Link, code generation has been done.
After Code generation, Typed "quit force" comment in matlab window.
Matlab window and model all are closed, after few seconds data dictionary window displayed.
Kindly teach how can i close all application(Matlab,Model, data dictionary windows) in matlab.

Answers (3)

drummer
drummer on 19 Jun 2019
Did you try this?

Arunkumar A
Arunkumar A on 19 Jun 2019
Yes I tried all quit option,but it is showing data dictionary dialog box

Champuram Madhu
Champuram Madhu on 5 Mar 2020
You can use the command 'dsdd_free()' to clear the DD in the background and then close the MATLAB using the API 'quit force'

Community Treasure Hunt

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

Start Hunting!