- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
Hi,
I need to use some MATLAB functions that I have in .m files in a DSP Builder project. In a first example I tried to use an Embedded MATLAB function block with a simple and inside, but I have this error when I try to analyze the model:Matlab Error
Error using ==> alt_dspbuilder_mdl2xml at 29
Error due to multiple causes.
Error: Error during compilation: Error analyzing Model see log for details.
There is any way to integrate MATLAB code inside a DSP Builder project? Thanks!
Link Copied
1 Reply
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
FYI, I found that the best (or the only) way to do that is translating de m function into VHDL via HDL Coder and then adding this HDL file with the HDL import block.
Maybe this was a silly question, but if someone needs an answer int he future that's the way I did it.
Reply
Topic Options
- Subscribe to RSS Feed
- Mark Topic as New
- Mark Topic as Read
- Float this Topic for Current User
- Bookmark
- Subscribe
- Printer Friendly Page