signal from PIC 32 to MATLAB

Thread Starter

downgoinboi

Joined Jan 24, 2010
2
hey there:
im working in a project and i'm requested to make an interface to take a signal from a PIC 32 microchip starter kit connected to PC by USB
to simulate it in MATLAB or simulink to do some analysis or what ever.

or to take this signal to LABVIEW and then to MATLAB?
any body have any way to try
..plz help

knowing that i'v tried the embedded target for microchip dsPIC and i have this error while configuration



here is the matlab error message

----------------------------------------------------
Warning: The following error occurred processing the System Target File '':

Undefined function or variable "myData".

> In stf2target at 61
In c:\program files\matlab\r2010a\blocks\dsPIC_ConfigureModelFordsPICTarget.p>dsPIC_ConfigureModelFordsPICTarget at 42
Warning: The following error occurred processing the System Target File '':

Undefined function or variable "myData".

> In c:\program files\matlab\r2010a\blocks\dsPIC_ConfigureModelFordsPICTarget.p>dsPIC_ConfigureModelFordsPICTarget at 42
>>
----------------------------------------------------------------------------------------------------
what is the solution for that?

regards
Ahmed
 

BMorse

Joined Sep 26, 2009
2,675
The error is caused by you referencing a variable called myData in your code without first declaring it....

B. Morse
 
Top