Hi,
I am Arief, I am currently using C-script in all of my digital control sim. And I so far not quite liking the coding interface of C-script.
The reason I am using C-script instead of DLL is because I need the Discrete-Variable Sampling Time (Ts = -2) which I use to control the C-script sampling and accurately emulate MCU PWM generation method.
Currently, as a workaround, I put all my code in and external .c code, then only write a small piece of code inside the C-script to invoke my .c file. While it helps a bit, but not able to compile it in external IDE (i.e VScode) is really a bummer.
Please suggest on how to improve the workflow.
Thanks
Arief