Close a project programmatically without saving changes?

조회 수: 17 (최근 30일)
Nickolai Belakovski
Nickolai Belakovski 2022년 10월 20일
답변: Joel 2023년 6월 13일
For certain operations in CI, when we run things and try to close them, a prompt comes up noting that there are unsaved changes and asking if we want to save or discard them. In CI of course no one can see the prompt and so the job times out. quit force doesn't seem to help, nor does bdclose('all') since that seems to act on Simulink systems and models, as opposed to projects.
Is there any way to programmatically close a project, even if it has unsaved changes?

답변 (1개)

Joel
Joel 2023년 6월 13일
Hi,
Currently, the only way to programmatically close a project is by using the close command. Please refer to the documentation for more information.

카테고리

Help CenterFile Exchange에서 Project Setup에 대해 자세히 알아보기

태그

제품


릴리스

R2021a

Community Treasure Hunt

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

Start Hunting!

Translated by