Hello!
I created an SWPM generator for 3-phase (as well for single-phase). And after seeing the examples in the simulation about the VCM-SPWM 3-phase block with all the configurable features (3rd harmonic injection, carrier waveform, minimum pulse width, etc.) I wonder:
Is it possible to add variables that can be called outside the Codegen block?
What I mean is, in the ePWMx block there are several configurable options but all must be configured previously, it cannot be modified 'on the run'; just for example, if I want to change the rising edge, I have to stop the process, enter to the block, modify it and run the whole setup again.
I tried to put literals on those options but it generates the error of 'Please enter a positive integer.'
Some ideas?
Thank you for your time.