Helix Core is now P4. Product user interfaces will be updated soon. Learn more >>

P4 for MATLAB and Simulink Documentation | 2025.1

# Connect to the P4 Server

The Perforce P4 for MATLAB and Simulink integration uses a .p4config file in the project root folder (sandbox in Simulink) to store the user name, port, and (client) workspace details.

If P4 AS is configured for your P4 Server a web page will open and you will be directed to the sign in process used by your Identity Provider (IdP) when you connect to the P4 Server.

Connection methods:

- New Simulink projects: if the .p4config file does not exist, it will be created for you when you connect your new project to the P4 Server. Create a new project and connect the project to the P4 Server. For instructions on creating a new Simulink project and connecting it to the P4 Server, see Create a new Simulink project and connect to the P4 Server.
- Existing Simulink projects: if a .p4config file is present, it is automatically loaded and your Simulink project is connected to the P4 Server. For instruction on connecting an existing Simulink project to source control, see Create a project from source control.
- New MATLAB only project: you must create a .p4config file the root directory of your project/work area. For instructions about how to create a .p4config file the root directory of your project/work area, see Create a MATLAB only project and connect to the P4 Server.

Your search for returned results