Non inverting Schmitt Trigger

3 views (last 30 days)
Rohan Sanghavi
Rohan Sanghavi on 15 Jun 2019
Answered: Vishnu Vardhan on 15 Jun 2019
Hello everyone Can you please help me code a non inverting Schmitt trigger in matlab

Answers (1)

Vishnu Vardhan
Vishnu Vardhan on 15 Jun 2019
Hi Rohan,
I can suggest you a way to get code for Schmitt trigger. There is feature called Code generation in MATLAB , with this you can get a C code for the Schmitt trigger block available in SIMULINK.
With this way you cannot get the code completely but you can get the logic how it is implemented and start writing your own code which may serve your purpose.
This link might help you to get started.

Categories

Find more on Programmatic Model Editing in Help Center and File Exchange

Tags

Community Treasure Hunt

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

Start Hunting!