MATLAB: Is there more documentation or examples on SimEvents observer


SimEvents has an interesting feature named "Observer" which is used to create custom visualizations for SimEvents blocks. Although observer is completely programmatic, there is only one example with very few documentation. I have searched a lot but found nothing. Is there any documentation or examples for this feature? Or is it similar to the discrete-event chart which can be learnt using stateflow documentation?

Best Answer

  • Hi Kar,
    There are a couple of examples that illustrate the use of SimEvents observer. If you are using R2017b or later, there is the Medical Device example, that uses quite a bit of Observer functionality. This is the example I have learnt from.