Magnetometer in simulator: how to simulate?

Is it possible to get in the simulator magnetometer data?

Have tried in the simulator info.mag is always null. Should I turn on some option? Or is it available for certain devices?