Code Generation for TMS320F28379D using MATLAB With Repeating Sequence and Relational Operators block.
5 visualizzazioni (ultimi 30 giorni)
Mostra commenti meno recenti
Dr. Pemendra Kumar Pardhi
il 22 Giu 2021
Commentato: Dr. Pemendra Kumar Pardhi
il 25 Giu 2021
Hello,
I am trying to generate the code from MATLAB 2020a for the LaunchPad TMS320F28379D microcontroller as shown in the attached file. Here both switches will be in ON state for a few times whenever the duty cycle is higher than 50%.
![](https://www.mathworks.com/matlabcentral/answers/uploaded_files/660870/image.png)
To generate the code, devoloped simulink model is shown in below,
![](https://www.mathworks.com/matlabcentral/answers/uploaded_files/660875/image.png)
The triangular single is obtained from repeating sequence and it belongs to a continuous time domain block. Due to continuous time domain error is occuring in code generation.
How can I solve this problem on the same platforms?
0 Commenti
Risposta accettata
Kiran Felix Robert
il 25 Giu 2021
Hi Pamendra,
Most of the Continouts-time blocks in simulink will have its Discrete-time alternatives.
You can try using the Discrete-time alternatives for Repeating Sequence such as,
Più risposte (0)
Vedere anche
Categorie
Scopri di più su Simulink Coder in Help Center e File Exchange
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!