Clear Filters
Clear Filters

Program chip with matlab

1 view (last 30 days)
saleh golzardi
saleh golzardi on 16 Oct 2020
Answered: Cem Dogan on 14 Mar 2021
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

Answers (1)

Cem Dogan
Cem Dogan on 14 Mar 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.

Tags

Community Treasure Hunt

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

Start Hunting!