austinpowers
Electrical
- Oct 21, 2005
- 25
i am using a function in my program
but i am getting an error saying that statement is incomplete
when i am calling that function in the program.
i called a function s like this in my mainprogram
[newseq1,newseq2]=
s(seq1,seq2,T0,A,B,Mt,MAXTIME,area,N,M);
i wrote this s function in a seperate matlab file s.m
and the first line in that file is
function [newseq1, newseq2] = s(seq10,seq20,T0,A,B,Mt,MAXTIME,area,N,M)
error that i am getting
??? Error: File: C:\MATLAB701\work\s.m Line: 12 Column: 1
This statement is incomplete.
Error in ==> mainprogram at 18
[seq1,seq2]=s(seq1,seq2,T0,A,B,Mt,MAXTIME,area,N,M);
i checked the syntax of the function also , but everything seems to be right , i dont know whats the problem.
can anyone help me with this.
but i am getting an error saying that statement is incomplete
when i am calling that function in the program.
i called a function s like this in my mainprogram
[newseq1,newseq2]=
s(seq1,seq2,T0,A,B,Mt,MAXTIME,area,N,M);
i wrote this s function in a seperate matlab file s.m
and the first line in that file is
function [newseq1, newseq2] = s(seq10,seq20,T0,A,B,Mt,MAXTIME,area,N,M)
error that i am getting
??? Error: File: C:\MATLAB701\work\s.m Line: 12 Column: 1
This statement is incomplete.
Error in ==> mainprogram at 18
[seq1,seq2]=s(seq1,seq2,T0,A,B,Mt,MAXTIME,area,N,M);
i checked the syntax of the function also , but everything seems to be right , i dont know whats the problem.
can anyone help me with this.