Microchip addon in Simulink, cannot propose to program chip from matlab

2 visualizaciones (últimos 30 días)
Jan Sustek
Jan Sustek el 17 de Abr. de 2020
Respondida: Cem Dogan el 14 de Mzo. de 2021
Hello,
I am using Microchip addon in Simulink. When i click on "Build model", it shows error: Cannot propose to program chip from Matlab: Either file xxx.hex does not exist or MPLAB X API is not available on this system.
Could you help me please?
Thanks
  1 comentario
saleh golzardi
saleh golzardi el 16 de Oct. de 2020
I am using Microchip addon in Simulink. When i click on "Build model", it shows error: Cannot propose to program chip from Matlab: Either file xxx.hex does not exist or MPLAB X API is not available on this system. Could you help me please? Thanks

Iniciar sesión para comentar.

Respuestas (1)

Cem Dogan
Cem Dogan el 14 de Mzo. de 2021
Firstly, while you are trying to build your Simulink model, make sure that you are in the different path in Matlab 'Current Folder'. When I try this it unreasonably works but the hex filed will be saved in different path. If this doesn't work you can try to implement .gld file of your chip into the build directory.
Regards.

Categorías

Más información sobre Simulink Supported Hardware 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!

Translated by