Hi,
I read you requirements. Because I have been working last years on similar project with ADC, DAC, PWMs, I would recommend you to first choose your hardware, because the code will be strongly dependent on hardware ( peripheral configuration like ADC, DAC, PWMs ... ). So most important part of code will be about driving peripherals of microcontroller. So if somebody prepare code for you in simulink or in C without knowing hardware, then you will still have to do a lot of work with setting up of peripherals.
You will need also some external circuit to make VR sensor analog singla with such amplitude (-5 and 5 V, up to -12 to 12 V), but of course you will drive amplitude and frequency by microcontroller.
From hardware I would recommend you tu use Texas Instruments or Microchip microcontroler. We can discuss this later.
Think about it. If you want to cooperate, please let me know.
Thank you.
Best regards and good luck.
Peter
.