Invalid/Incomplete Carmaker project directory

69 Ansichten (letzte 30 Tage)
Jay Kapadia
Jay Kapadia am 23 Mai 2023
Beantwortet: Sanchari am 14 Sep. 2023
Due to some issue, I had to reinstall MATLAB R2021a. Before the re-installation, the Carmaker GUI would open using the Carmaker blockset. But, unfortunately, now the Error pops up stating: "Invalid/Incomplete Carmaker project directory". Please guide on how can i assign the directory for the Carmaker, or how to sort this error.

Antworten (1)

Sanchari
Sanchari am 14 Sep. 2023
Hello,
I understand that you want to resolve the error “Invalid/ Incomplete Carmaker project directory” that has occurred after reinstalling MATLAB R2021a.
To do so, please follow through the steps below:
  1. Verify compatible MATLAB version: Recheck Carmaker version compatibility with MATLAB version. You can find the compatibility in Carmaker Release Notes. MATLAB R2021a is compatible with Carmaker version 10.0 and above.
  2. Choose correct destination for Installation directory: Follow the instructions of IPGInstall ([AS1] [SM2] How to install CarMaker and other IPG Automotive software- https://ipg-automotive.com/fileadmin/user_upload/content/Download/PDF/Product_Info/IPG_Automotive_Installation_Dongle_License.pdf ). The destination directory you choose during the installation (Windows e.g., C:\ipg\etc; Linux e.g., /opt/ipg/etc) will be further referred to as <InstallationDirectory>.
  3. Verify successful configuration of Carmaker environment in MATLAB: After opening MATLAB, you need to make sure that your working directory is the “src_cm4sl” folder of your project directory. In this folder, there's a file called “cmenv.m” that you need to run. After it's run successfully, the MATLAB search path is configured, and CarMaker is connected.
  4. Verify Carmaker dependencies: When you run the “cmenv.m” file, ensure that all the dependencies for Carmaker were correctly installed as well.
  5. Use Carmaker GUI: after executing “cmenv.m”, open the “generic.mdl” to start working with CarMaker.
To add path of the project folder manually, go to Home Tab > Environment Section > Set Path. You can add the project directory along its subfolders to MATLAB.
Hope this helps!

Kategorien

Mehr zu Simulink Coder finden Sie in Help Center und File Exchange

Produkte


Version

R2021a

Community Treasure Hunt

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

Start Hunting!

Translated by