Turn on suggestions

Auto-suggest helps you quickly narrow down your search results by suggesting possible matches as you type.

Showing results for

- Intel Community
- FPGAs and Programmable Solutions
- FPGA Intellectual Property
- Problem : DSP builder simulink block installation into MATLAB simulink.

- Subscribe to RSS Feed
- Mark Topic as New
- Mark Topic as Read
- Float this Topic for Current User
- Bookmark
- Subscribe
- Mute
- Printer Friendly Page

Altera_Forum

Honored Contributor I

- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Email to a Friend
- Report Inappropriate Content

05-05-2010
06:07 PM

2,289 Views

Problem : DSP builder simulink block installation into MATLAB simulink.

Dear friends,

I am working on image proccessing project for that, i need to install DSP builder simulink block into MATLAB simulink. I have license version of altera 7.1 suit and MATLAB R2009b. I tried 4-5 times to install both. In first trial, I installed MATLAB first and than DSP builder. In second trial I installed DSP builder first and than MATLAB. But problem is that its' blocks are not shown into simulink every time. Once I formatted my PC,too. But it didn't work. I read installation guide of DSP builder and run command 'alt_dspbuilder_setup_megacore' in MATLAB, but it didn't worked. I read installation guide of DSP builder.It says that you need to make matlab folder READ only. but how it possible to make it read only,if I first install DSP builder? Give my clear way for DSP builder installation. Regards, Ronak Shah.Link Copied

12 Replies

Altera_Forum

Honored Contributor I

- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Email to a Friend
- Report Inappropriate Content

05-07-2010
01:04 PM

90 Views

No you need to make sure the matlab folder is NOT read-only. DSP Builder needs to write to <MATLAB>/toolbox/local/classpath.txt and <MATLAB>/toolbox/local/pathdef.m where <MATLAB> refers to the directory where you installed MATLAB. Just use file explorer to go that directory and modify the file permissions. Or re-install MATLAB and don't tick the box that says make the files read-only - I think that exists, but it's been a while since I installed MATLAB.

On the other hand I doubt DSP Builder 7.1 will work with MATLAB R2009b.
Altera_Forum

Honored Contributor I

- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Email to a Friend
- Report Inappropriate Content

05-10-2010
07:40 AM

90 Views

It's still not working.

I have checked for
Altera_Forum

Honored Contributor I

- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Email to a Friend
- Report Inappropriate Content

05-10-2010
08:39 AM

90 Views

MATLAB 7.5 is R2007b, I believe. The supported versions are R14 SP3, R2006a, R2006b, or R2007a (according to http://www.altera.com/literature/rn/rn_dsp_builder_71.pdf).

Next option is to try to set up your classpath manually. Go to <MATLAB>/toolbox/local/classpath.txt and load it into a text editor. At the bottom of the file, there should be something like: # DSPBuilder START <quartus_path>/dsp_builder/bin/dspb_sblocks.jar dummyline # DSPBuilder END If these lines aren't there, then add them substituting the correct path for <quartus_path> as you go. Next, restart MATLAB and type "cd <quartus_path>/dsp_builder/bin/matlab". Then then type "setupDSPBuilderPath install <quartus_path>/dsp_builder/bin <quartus_path>/dsp_builder/bin/matlab <quartus_path>/dsp_builder/bin/mdllibrary". (substituting for quartus_path as before). That should finish with out errors and finally print "DSP Builder path saved." if it worked correctly.
Altera_Forum

Honored Contributor I

- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Email to a Friend
- Report Inappropriate Content

05-12-2010
04:31 PM

90 Views

Thanxs,

DSP builder blocks are installed ok.All DSP .mdl are opening in matlab fine,it give some error mentioned in picture1.
Altera_Forum

Honored Contributor I

- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Email to a Friend
- Report Inappropriate Content

05-12-2010
04:40 PM

90 Views

Altera_Forum

Honored Contributor I

- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Email to a Friend
- Report Inappropriate Content

05-26-2010
04:52 PM

90 Views

Hi.

thanx, it is workinkg file but when I compile the program for DSP builder in matlab to generate HDL code it gives err that
Altera_Forum

Honored Contributor I

- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Email to a Friend
- Report Inappropriate Content

06-01-2010
07:27 AM

90 Views

hi,

Plz any body can help me to get license file or DSP builder v7.1? Regards, Ronak Shah.
Altera_Forum

Honored Contributor I

- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Email to a Friend
- Report Inappropriate Content

06-01-2010
04:01 PM

90 Views

talk to your local Altera distributor.

Altera_Forum

Honored Contributor I

- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Email to a Friend
- Report Inappropriate Content

02-25-2014
01:23 PM

90 Views

Myself Sumanta is facing a problem regarding the installation of Altera (Quartus II) toolbox in Matlab (r2013a). I have installed Quartus 9.1, but as mentioned the mentioned lines -

# DSPBuilder START <quartus_path>/dsp_builder/bin/dspb_sblocks.jar dummyline # DSPBuilder END are not there in the Matlab path (<MATLAB>/toolbox/local/classpath.txt). On using the command - 1) (cd <quartus_path>/dsp_builder/bin/matlab), the error is coming as - (Error using cd, Cannot CD to <quartus_path>/dsp_builder/bin/matlab (Directory access failure). 2) (setupDSPBuilderPath install <quartus_path>/dsp_builder/bin <quartus_path>/dsp_builder/bin/matlab <quartus_path>/dsp_builder/bin/mdllibrary), error is - (Undefined function 'setupDSPBuilderPath' for input arguments of type 'char'.) 3) (cd <quartus_path>/dsp_builder/bin/matlab), error is - (Error using cd, Cannot CD to <quartus_path>/dsp_builder/bin/matlab (Directory access failure). Please suggest me for some solutions.
Altera_Forum

Honored Contributor I

- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Email to a Friend
- Report Inappropriate Content

02-25-2014
02:01 PM

90 Views

Altera_Forum

Honored Contributor I

- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Email to a Friend
- Report Inappropriate Content

03-03-2014
02:49 PM

90 Views

You need to start MATLAB through the "dsp_builder.bat" file inside the dsba folder

Altera_Forum

Honored Contributor I

- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Email to a Friend
- Report Inappropriate Content

12-09-2014
08:06 AM

90 Views

i've got the same problem and i sloved it just now. you can try this: in window os,start->all programmer->altera->dsp builder->start in matlab 20XXX.then you may see the dsp builder library.

good luckTopic Options

- Subscribe to RSS Feed
- Mark Topic as New
- Mark Topic as Read
- Float this Topic for Current User
- Bookmark
- Subscribe
- Printer Friendly Page

For more complete information about compiler optimizations, see our Optimization Notice.