Page 1 of 1

PIC32 Stater Kit and MATLAB

Posted: Wed Dec 07, 2011 5:31 am
by karan
Hi,

Can any body guide me how to write a simple LED blink program in MATLAB for PIC32.

--
Karan

Re: PIC32 Stater Kit and MATLAB

Posted: Thu Dec 08, 2011 8:00 pm
by resodad
Hi Karan,
Are you using a development board, or do you just have the PIC32 chip by itself?
Do you mean using MATLAB .m file programming, or using Simulink?

See my "Getting Started with Digilent Cerebot 32MX4" on the examples page under "Microchip Kits." or cut and paste this link: http://www.kerhuel.eu/wiki/Getting_Star ... ebot_32MX4
There find a getting started .pdf document and a simulink file for LED flashing.

Please post if you get it working.

Regards,
John

Re: PIC32 Stater Kit and MATLAB

Posted: Sun Dec 11, 2011 3:44 pm
by karan
Hi,

Thanks for you reply

1) I am using PIC32 USB Starter Kit PIC32MX460512L MCU

2) I want to mean both either .m
and Maltab Simulink ?

Can I do with both.

Surely, I will reply When working.


Thanks

--
Karan

Re: PIC32 Stater Kit and MATLAB

Posted: Mon Dec 12, 2011 3:07 pm
by resodad
Karan,
Everything on this forum is about code generation from Simulink. See the examples.
It is possible to write microcontroller programs directly in matlab m files, but I don't recommend that way.
John