Documentation Center

  • Trial Software
  • Product Updates

close

Class: Simulink.ModelManagement.Project.CurrentProject
Package: Simulink.ModelManagement.Project

(To be removed) Close the currently open Simulink project

    Note:   Simulink.ModelManagement.Project.CurrentProject.close will be removed in a future release. Use close instead.

Syntax

p = Simulink.ModelManagement.Project.CurrentProject()
p.close

Description

p = Simulink.ModelManagement.Project.CurrentProject() creates an instance of the CurrentProject class.

p.close closes the currently open Simulink project.

Example

To close a currently open Simulink project, use the following commands.

  1. Create an instance of the CurrentProject class.

    p = Simulink.ModelManagement.Project.CurrentProject();
  2. Use the close method.

    p.close;

See Also

Was this topic helpful?