How to use FMU export function?

I want to export my subsystem to a FMU file, but I find the button of “export FMU“ is disabled. What should I do? Thanks.

One can only export FMU’s for Atomic subsystems. See the PLECS documentation on Exporting FMU’s and a related post in the PLECS Knowledge Base.