SIMULINK AND ARDUINO. PLEASE HELP!
2 views (last 30 days)
I'm a 2nd year electrical engineering student and am currently working on a project in which i have an arduino physically interfaced with an IMU 6DOF razor ( http://voidbot.net/razor-6dof.html). [My goal is to have an inertial navigation system by the end of the project].
My problem is that i need the 6 inputs in my razor to appear on my MATLAB simulink scope in 1 graph so as to have 6 different outputs in 1 axes.
How can i have multiple outputs on one scope? Must i adjust my arduino code or change the physicality of the simulink diagram too?
Help will be highly appreciated!
MarkB on 11 Mar 2011
The general idea is that "Scope" blocks have one graph per input port. If you want to have more than one signal displayed on a graph, you need to combine those signals using a "Mux" block to produce a single matrix/vector signal to connect to a single port on the "Scope".