Neural electrodes for electrocorticography (ECoG) recording and electrical stimulation are used for diagnosis and treatment of epilepsy, which are temporarily attached to the surface of cerebral cortex within the subdural space. However, conventional electrodes have a mechanical mismatch with the surface curvature of the brain cortex.