Boost Users :
Subject: Re: [Boost-users] Boost.Statechart and Simulink
From: Andreas Huber (ahd6974-spamboostorgtrap_at_[hidden])
Date: 2008-11-20 16:15:15
> I was wondering if there were any known issues with compiling using
> Matlab's mex compiler (which in turn uses and links with gcc) and using
> When I implemented my statechart, I tested it using a
> separate main() file and it works 100%. When I compile using mex into a
> Matlab MEX file, I seem to lose the functionality of the event triggers.
This seems to hint in the direction that the internal RTTI mechanism is
failing. Have you tried to compile with BOOST_STATECHART_USE_NATIVE_RTTI
defined in all translation units
Please let me know whether that changes anything. Thanks.
> I've tried several things to figure out what is happening, but all I can
> ascertain is that if I use the iterators state_begin() and state_end() to
> access all internal states, the loop never executes.
This however does not fit with my RTTI mechanism failure theory. Even if it
did fail, after calling initiate() the range [state_begin(), state_end())
should still not be empty.
-- Andreas Huber When replying by private email, please remove the words spam and trap from the address shown in the header.
Boost-users list run by williamkempf at hotmail.com, kalb at libertysoft.com, bjorn.karlsson at readsoft.com, gregod at cs.rpi.edu, wekempf at cox.net