matlab link for ccs- codes

Status
Not open for further replies.

farooq

Newbie level 2
Joined
Jun 28, 2004
Messages
2
Helped
0
Reputation
0
Reaction score
0
Trophy points
1,281
Activity points
30
no appropriate methods for function matlab error

Following is the list of errors & problems working with 'matlab link of rtdx for code composer studio":-
developed model using simulink & embedded it on TMS320C6711 using "embedded target for TI C6000 DSP"

code#1:

cc = ccsdsp;
rx = cc.rtdx;
open(rx,'ichan1','w');
cc.rtdx.enable('ichan1');
cc.rtdx.isenabled('ichan1')
if cc.rtdx.iswritable('ichan1'), % Used in a script application.
disp('writing to target...') % Optional to display progress.
indata=1:5
cc.rtdx.writemsg('ichan1', int16(indata))
end
open(rx,'ochan1','r');
cc.rtdx.enable('ochan1');
a=cc.rtdx.isenabled('ochan1')
b=isreadable(rx,'ochan1')
data = readmsg(rx,'ochan1','int16',[1 5],1,30);


output#1:
ans =

1

writing to target...

indata =

1 2 3 4 5


a =

1


b =

1

??? ReadMsg: Timeout waiting for CCS to confirm completion: waiting for 1 messages


code#2:

cc = ccsdsp;
rx = cc.rtdx;
open(rx,'ichan1','w');
cc.rtdx.enable('ichan1');
cc.rtdx.isenabled('ichan1')
if cc.rtdx.iswritable('ichan1'), % Used in a script application.
disp('writing to target...') % Optional to display progress.
indata=1:5
cc.rtdx.writemsg('ichan1', int16(indata))
end
open(rx,'ochan1','r');
cc.rtdx.enable('ochan1');
a=cc.rtdx.isenabled('ochan1')
b=isreadable(rx,'ochan1')
out_array = readmat('ochan1','double',[1 5])

output#2:

ans =

1

writing to target...

indata =

1 2 3 4 5


a =

1


b =

1

??? No appropriate methods for function readmat.

code#3:

cc = ccsdsp;
rx = cc.rtdx;
open(rx,'ichan1','w');
cc.rtdx.enable('ichan1');
cc.rtdx.isenabled('ichan1')
if cc.rtdx.iswritable('ichan1'), % Used in a script application.
disp('writing to target...') % Optional to display progress.
indata=1:5
cc.rtdx.writemsg('ichan1', int16(indata))
end
open(rx,'ochan1','r');
cc.rtdx.enable('ochan1');
a=cc.rtdx.isenabled('ochan1')
b=isreadable(rx,'ochan1')
out_array = readmat(cc.rtdx,'ochan1','int16',[1 5],1);

output#3:

ans =

1

writing to target...

indata =

1 2 3 4 5


a =

1


b =

1

??? Readmat: Timeout waiting for CCS to confirm completion
0 oldest messages were lost
 

hi dear friend
How did you write youre source code for dsp?
by c/c++ or matlab?
 

Status
Not open for further replies.
Cookies are required to use this site. You must accept them to continue using the site. Learn more…