Hi Lubin,
When I try to compile models such as dsPIC_33f_Explorer16.mdl, I get the 1070 build error due to MATLAB not being able to find the gld file. For instance, MATLAB will search C:\Program Files\Micro~1\MPLABC~1\... which goes to C:\Program Files\Microchip\MPLAB C32 instead of C:\Program Files\Microchip\MPLAB C30, while C:\Program Files\Micro~1\MPLABC~2\... goes to C:\Program Files\Microchip\MPLAB C30. I was only able to compile after I renamed my MPLAB C32 folder to "MPLAB C30 Copy" and copied and pasted the "MPLAB C30" folder contents into "MPLAB C30 Copy."
Do you know why MATLAB is searching for the wrong # after the '~' during compilation? Is there a way to tell MATLAB to look in the right folder? I tried adding the path to MATLAB, and it didn't solve the problem.
Pathing Problem in Compilation
-
- Site Admin - Expert
- Posts: 616
- Joined: Wed Mar 07, 2007 11:23 pm
- Location: Bayonne- France
- Contact:
Re: Pathing Problem in Compilation
Hi Chad,
Did you tried the "magic" yellow block called something like "configure Simulink model for dsPIC" ? add this block to your model, dbl click on it and it usually solved path problems.
Lubin
Did you tried the "magic" yellow block called something like "configure Simulink model for dsPIC" ? add this block to your model, dbl click on it and it usually solved path problems.
Lubin
Who is online
Users browsing this forum: No registered users and 1 guest