Note that this reference documentation is identical to the help that is displayed in MATLAB when you type “help ft_spikesimulation”.

  FT_SPIKESIMULATION simulates a spiketrain with a structures timing of the
  neuronal firing.
 
  Use as
    data = ft_spikesimulation(cfg)
  and please look in the code for the cfg details.
 
  See also FT_DIPOLESIMULATION, FT_FREQSIMULATION