- Verify the existence of 'Modelname.a2l': Check if the file 'Modelname.a2l' exists in the specified location. Ensure that the file name and path are correct.
- Check the CANOE configuration: Make sure that the CANOE configuration is properly set up and that the necessary files, including 'Modelname.a2l', are included in the project. Double-check the configuration settings to ensure that the correct file paths are specified.
- Verify the code generation settings: Check the code generation settings in your development environment, especially the settings related to CANOE and the generation of the ASAP2 file ('Modelname.a2l'). Ensure that the necessary options and paths are correctly configured.
- Check the MATLAB path: Ensure that the MATLAB path includes all the required folders and files for code generation. Verify that the necessary CANOE-related files and toolboxes are accessible.
Build process failing with model referencing
4 visualizaciones (últimos 30 días)
Mostrar comentarios más antiguos
Nagaraju Subramaniam
el 25 de Jul. de 2023
Comentada: Nagaraju Subramaniam
el 1 de Ag. de 2023
The call to cn_make_rtw_hook, during the after_make hook generated the following error:
ASAP2 pathc process failed to execute the following system command:
"C:\PROGRA~1\VECTOR~1.11\rtw\bin\canoe\VBUILD~1\VBUILD~1.EXE" -T "options.ini" -I Modelname.a2l -O D:\path\Modelname.a2l -A
"D:\path\Modelname.pdb"
Result: <ERROR> input file 'Modelname.a2l' not found
Hello team,
I am trying to generate a2l with model referencing method. I am receiving the above error in first instance. When i tried to rebuild the model, i am receiving the error mentioned below. This happens only when i build a model which is referenced to another model. I am using cn.tlc for code generation and model contains CANOE blocks. Kindly help me with solution. Let me know if more information required. Thank you
The build process will terminate as a result.
Caused by: ASAP2 pathc process failed to execute the following system command:
"C:\PROGRA~1\VECTOR~1.11\rtw\bin\canoe\VBUILD~1\VBUILD~1.EXE" -T "options.ini" -I Modelname.a2l -O D:\path\Modelname.a2l -A
"D:\path\Modelname.pdb"
Result:
Reading ASAP2 file
Solving references<ERROR> group 'Modelname': reference to undefined group 'mr_grp2link_Namemodel_Model_InstanceData'
Reading map file
writing ASAP2 fileTables count: 8
0 comentarios
Respuestas (1)
Debadipto
el 1 de Ag. de 2023
Hi Nagaraju,
The error message suggests that the input file 'Modelname.a2l' is not found during the code generation process. This can happen if the file is missing or if the path to the file is incorrect. Here are a few steps you can take to troubleshoot and resolve the issue:
If the issue persists, reach out to the MathWorks support team for further assistance.
Regards,
Debadipto Biswas
Ver también
Categorías
Más información sobre Particle & Nuclear Physics en Help Center y File Exchange.
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!