Forum Discussion
Altera_Forum
Honored Contributor
14 years agoThat kdb page is a little confused, partly because most of the linebreaks have been lost, partly because it's only talking about Linux, but also because it's out of date.
if you are running on linux: Use the dsp_builder.sh script to start MATLAB. This script requires no modifications to MATLAB and so is perfect for shared installations. It also means that you can use more than one version of DSP Builder and more than one version of MATLAB without re-installation. For instance to start DSP Builder use:/path/to/quartus/dsp_builder/dsp_builder.sh If you don't supply the -m option, it will use the MATLAB executable on your path. This will obviously fail if there isn't one. This script is present in DSP Builder versions from 11.0 onwards. If you use this script and have installed older versions of DSP Builder, then please make sure that there is no file called .matlab7rc.sh in your home directory. You should check that if you have a startup.m file, that it doesn't contain any references to old installations of DSP Builder. if you are running on windows: The installer should take care of the installation, but if you want to install it in a shared environment or if it's failed for some other reason, you can either attempt to replicate the steps of the installer which is to perform steps 1-3 of the above kdb article (remembering to save the path afterwards). Then type "edit classpath.txt" and add the lines: # DSPBuilder START
<path\to\quartus>\dsp_builder\bin\matlab\dspb_sblocks.jar
# DSPBuilder END or you could use the dsp_builder.bat file that has been shipped since 11.0 but not publicised. To do this ensure that classpath.txt does not contain any of the lines from above and remove any paths to DSP Builder using the File->Set Path dialog. (If you've created a startup.m file to add these paths you would need to remove them from that file as well). Now start MATLAB by typing in the Start->Run box: /path/to/quartus/dsp_builder/dsp_builder.bat You also create a shortcut on your desktop and copy this command into it.