How I can get pulse frequency value? [Arduino-Matlab Two Flowmeter code]

Hello!

I need connect two flowmeter with the arduino and read results with Matlab.

How I can get pulse frequency value (NbTopsFan) to do calculations?

I want adapt arduino code but I can't do this. Can anyone help me with the code to do this?

Here is one website that will show you how to make frequency measurements, FreqMeasure Library, for Measuring Frequencies in the 0.1 to 1000 Hz range, or RPM Tachometer Applications

Google "arduino frequency measurement" for several others. Start with one flowmeter, then move on to two.

Thank you! I will check this link

The information you need should come with the flowmeter.