DSP matlab code convert to C++ using matlab coder
4 vues (au cours des 30 derniers jours)
Afficher commentaires plus anciens
![](https://www.mathworks.com/matlabcentral/answers/uploaded_files/1512714/image.png)
![](https://www.mathworks.com/matlabcentral/answers/uploaded_files/1512719/image.png)
![](https://www.mathworks.com/matlabcentral/answers/uploaded_files/1512724/image.png)
![](https://www.mathworks.com/matlabcentral/answers/uploaded_files/1512729/image.png)
You can donwnload here
How can I convert to C++ code using matlab coder?
Let me know if you know other methods please.
Thank you
0 commentaires
Réponse acceptée
Mark McBroom
le 25 Nov 2023
Field can not be added to structures dynamically. For example, inside pvTSM.m, the functions stft and istft are called. A parameter structure is passed to these two functinos, but then inside the functions, the fields fsAudio and fftShift are added. This is not allowed. It can be resolved by adding the struct elements fsAudio and fftShift to the param structure before stft and istft are called.
4 commentaires
Plus de réponses (0)
Voir également
Catégories
En savoir plus sur MATLAB Coder dans Help Center et File Exchange
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!