Why do I receive 'Data type mismatch' error when using a VCO in simulink?

This is the error:
Data type mismatch. Input port 2 of '[FileName]/Frequency of single tone/Calculate single tone
frequency/Set to Zero if previous time was zero' expects a signal of data type
'double'. However, it is driven by a signal of data type 'boolean'.
Edit: Attached the simulink model.

Answers (0)

Categories

Find more on Simulink in Help Center and File Exchange

Asked:

on 10 Mar 2017

Edited:

on 10 Mar 2017

Community Treasure Hunt

Find the treasures in MATLAB Central and discover how the community can help you!

Start Hunting!