Article ID: 000077618 Content Type: Troubleshooting Last Reviewed: 10/17/2011

DSP Builder cannot communicate with MATLAB if you select Skip setup during installation of the standalone DSP Builder

Environment

    Quartus® II Subscription Edition
BUILT IN - ARTICLE INTRO SECOND COMPONENT

Critical Issue

Description

If you are using a shared MATLAB environment, and during installation of the standalone DSP Builder you select Skip setup, DSP Builder cannot communicate with MATLAB because the Altera Installer fails to create a startup.m file.

Resolution

Manually configure the MATLAB environment by performing the following steps:For the standard blockset, add the following paths:

  1. In MATLAB, on the File menu, click Set Path.
  2. For the standard blockset, add the following paths:<quartus path>/dsp_builder/bin<quartus path>/dsp_builder/bin/matlab<quartus path>/dsp_builder/bin/mdllibrary
  3. For the advanced blockset, add the following paths:<quartus path>/dspba/Blocksets<quartus path>/dspba/Blocksets/BaseBlocks<quartus path>/dspba/Blocksets/FFTBlocks<quartus path>/dspba/Blocksets/Filters<quartus path>/dspba/Blocksets/ModelBus<quartus path>/dspba/Blocksets/ModelPrim<quartus path>/dspba/Blocksets/WaveformSynthesis<quartus path>/dspba/Docs<quartus path>/dspba/Docs/Help
  4. Add the following paths to the LD_LIBRARY _PATH environment variable:<quartus path>/quartus/linux<quartus path>/dsp_builder/bin<quartus path>/dspba/Blocksets/BaseBlocks
  5. Create a startup.m file in /home/jchang/matlab and include the following lines:addpath(\'<quartus path>/dsp_builder/bin\')addpath(\'<quartus path>/dsp_builder/bin/matlab\')addpath(\'<quartus path>/dsp_builder/bin/mdllibrary\')javaaddpath(\'<quartus path>/dsp_builder/bin/dspb_sblocks.jar\')addpath(\'<quartus path>/dspba/Blocksets\')addpath(\'<quartus path>/dspba/Blocksets/BaseBlocks\')addpath(\'<quartus path>/dspba/Blocksets/FFTBlocks\')addpath(\'<quartus path>/dspba/Blocksets/Filters\')addpath(\'<quartus path>/dspba/Blocksets/ModelBus\')addpath(\'<quartus path>/dspba/Blocksets/ModelPrim\')addpath(\'<quartus path>/dspba/Blocksets/WaveformSynthesis\')addpath(\'<quartus path>/dspba/Docs\')addpath(\'<quartus path>/dspba/Docs/Help\')addpath(genpath(\'<quartus path>/Examples\'))

Related Products

This article applies to 1 products

Intel® Programmable Devices

1