LWN.net Logo

OT: No free alternative to Simulink and MATLAB

OT: No free alternative to Simulink and MATLAB

Posted Nov 1, 2012 14:22 UTC (Thu) by debacle (subscriber, #7114)
Parent article: RTLWS: Realtime Linux for aircraft

What a shame...


(Log in to post comments)

OT: No free alternative to Simulink and MATLAB

Posted Nov 1, 2012 19:42 UTC (Thu) by simlo (subscriber, #10866) [Link]

Especially because coding Kalman filters isn't that hard in C++. I coded a general Kalman filter templates at work starting with my own vector and matrix library.

Trick: Compile-time matrix and vector sizes through templates. Make everything inline such the compiler can optimize all the inner objects away.

OT: No free alternative to Simulink and MATLAB

Posted Feb 7, 2013 10:36 UTC (Thu) by dragontas (guest, #89225) [Link]

It is not a simple Kalman filter. The presented Kalman Navigation filter calculates the position from delta ranges and GPS raw data. The tightly coupling with sensor data allows a precise calculation of the GPS clock error and error drift. With this technique it is possible calculate a navigation solution even if only 3 satelites are visible.

On the other side nonlinear control techniques with neural networks are used (dynamic inversion) to control the airplane.

All this high level algorithms are usually programmed and evaluated in matlab by engeneering scientists. This is the reason for using Matlab/Simulink Coder with RT-Linux hardware to create a one click solution for testing the algorithms in flight.

Best, K

OT: No free alternative to Simulink and MATLAB

Posted Nov 2, 2012 7:01 UTC (Fri) by cmccabe (guest, #60281) [Link]

Well, there's Octave and R. They're not drop-in compatible, but they have similar functionality.

As usual, it's not the particular functionality of the platform that's important, but the surrounding ecosystem of tools and packages, that keeps people using MATLAB rather than the alternatives-- in my opinion, at least.

OT: No free alternative to Simulink and MATLAB

Posted Nov 2, 2012 8:26 UTC (Fri) by paulj (subscriber, #341) [Link]

Octave is at least pretty close to MatLab. Close enough that simpler MatLab codes often work in Octave with minimal, even no, changes. R has a completely different programming model (slightly odd), so I assume it's completely incompatible.

OT: No free alternative to Simulink and MATLAB

Posted Nov 8, 2012 14:46 UTC (Thu) by njs (guest, #40338) [Link]

Python is also a strong matlab alternative these days via the numpy/scipy ecosystem... but none of these tools will generate real-time capable C code for you from a high-level description. That's the key feature they need.

Really the closest competitor here would be something like Eigen.

Copyright © 2013, Eklektix, Inc.
Comments and public postings are copyrighted by their creators.
Linux is a registered trademark of Linus Torvalds