simulink and struct alignment under win95
Bernd Blessmann
bibi@online.de
Fri Jul 31 03:03:00 GMT 1998
Hi,
I am using Cygwin_32 Version 19.1 under Win95 with the egcs-gcc Version
1.0.2 to
build Simulink S-Functions (Matlab Student Edition 5 and Simulink
Student Edition Version 2)
and receive following error message upon "Simulation/Start":
"Error in S-function block ôcsf/S-Functionô: Unable to execute C MEX
S-Function ôcsfuncô.
It appears to have been built with incorrect structure alignment
compiler options. Please verify
that the correct structure alignment options are specified and recompile
the S-function (see the
mex command for details)."
The S-Function is a simulink example (csfunc.c).
All pure Matlab-Mex-Files (examples) work fine with the mexopt-files
found in this mailing-lists.
I have tried to specify the -fpack-struct compiler option, but it didnôt
help.
Has anyone managed to compile and simulate S-Functions with cygnus and
egcs under win95?
Has anyone an idea how to sepcify the right structure alignment options
or evem how to find out
what alignment is used by the matlab/simulink libraries?
Greetings
Bernd
( bibi@online.de )
-
For help on using this list (especially unsubscribing), send a message to
"gnu-win32-request@cygnus.com" with one line of text: "help".
More information about the Cygwin
mailing list