Thermal behaviour of nanostructured magnetic materials