I've managed to follow the above guide to integrate the MPU6050 into a system for my Arduino Mega but I can't seem to port it to work with my Uno and I'm a bit lost on why.
I have amended the target hardware and upon compiling for the Uno it throws the following error.
../mpu6050_sfcn_wrapper.cpp: In function 'void mpu6050_sfcn_Outputs_wrapper(real_T*, real_T*, real_T*, const real_T*)':
../mpu6050_sfcn_wrapper.cpp:191:9: error: 'Serial2' was not declared in this scope
No problem, revert any mention of Serial2 to Serial and it will now compile for the Uno but I can't view the data in a Scope like I can with the Mega.