DSP matlab code convert to C++ using matlab coder
조회 수: 4 (최근 30일)
이전 댓글 표시
![](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
채택된 답변
Mark McBroom
2023년 11월 25일
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
추가 답변 (0개)
참고 항목
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!