Mail Archives: djgpp/1997/03/27/20:37:09
From: | fsnijder AT elektron DOT et DOT tudelft DOT nl (FIM)
|
Newsgroups: | comp.os.msdos.djgpp
|
Subject: | Problem compiling Matlab m-files using Matcom
|
Date: | Thu, 27 Mar 97 19:11:31 GMT
|
Organization: | Delft University of Technology
|
Lines: | 56
|
Message-ID: | <5hegkq$1ko$1@news.tudelft.nl>
|
NNTP-Posting-Host: | dokov.et.tudelft.nl
|
To: | djgpp AT delorie DOT com
|
DJ-Gateway: | from newsgroup comp.os.msdos.djgpp
|
Hello,
I wanted to compile some m-files. Unfortunately after translation the compiler
gave errors such as:
lmhwd.cpp: In function `class M<double> lmhwd(class M<double>, class
M<double>,
class M<double>, class M<double>, class M<double>, class M<double>, class
M<doub
le>, class M<double>, class M<double>, class M<double>, class M<double>, class
M
<double>, class M<double>, class M<double>, class M<double>, class M<double>,
cl
ass M<double>, class M<double>, class M<double>, class M<double>, class
M<double
>, class M<double>, class M<double>, class M<double>, class M<double>, class
M<d
ouble>, class M<double>, class M<double>, class M<double>, class M<double>,
clas
s M<double>, class M<double>, union i_o_t, class Mr<double>, class Mr<double>,
c
lass Mr<double>, class Mr<double>)':
lmhwd.cpp:99: too many arguments for function `class M<double> lmhwd(class
M<dou
ble>, class M<double>, class M<double>, class M<double>, class M<double>,
class
M<double>, class M<double>, class M<double>, class M<double>, class M<double>,
c
lass M<double>, class M<double>, class M<double>, class M<double>, class
M<doubl
e>, class M<double>, class M<double>, class M<double>, class M<double>, class
M<
double>, class M<double>, class M<double>, class M<double>, class M<double>,
cla
ss M<double>, class M<double>, class M<double>, class M<double>, class
M<double>
, class M<double>, class M<double>, class M<double>)'
etc. etc.
The smallest m-file involved is :
function [d]=dsig(x)
d=1-x.^2;
What can be my problem? And what can I do about it?
Thank you,
Freddy Snijder.
- Raw text -