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

P4 for MATLAB and Simulink Documentation | 2025.1

# Uninstall the P4 for MATLAB and Simulink jar file

If you installed an earlier version of P4 for MATLAB and Simulink using a jar file, you must edit the classpath.txt file to delete the Perforce Integration lines and restart MATLAB before you install P4 for MATLAB and Simulink. This section describes how to do this.

1. Start MATLAB.

   Windows only: if you do not have administrator rights to your computer in Windows, you must run MATLAB as an administrator to make changes to the classpath.txt file. To run MATLAB and an administrator, right-click the MATLAB shortcut and select Run as administrator from the menu.

2. To edit the classpath.txt file, open the MATLAB command window and type edit classpath.txt.

3. Scroll to the bottom of the file and delete the Perforce Integration lines detailing the absolute path to your P4 for MATLAB and Simulink jar file.

4. Save the classpath.txt file, close MATLAB down and then restart MATLAB.
5. Delete the jar file.
6. You can now install P4 for MATLAB and Simulink using the MATLAB P4 for MATLAB and Simulink toolbox file, see Install the P4 for MATLAB and Simulink.

Your search for returned results