Description
You may get this error message if you have installed DSP Builder more than once. You will get the error message after double-clicking on an Altlib block in your model file or after indicating that you wish tocreate VHDL, synthesize, and compile the design.
The problem happens because each time DSP Builder is installed, the path to the Altlib directory is added to the startup.m file without removing the previous entry.
Following is a workaround:
- Open the ASCII file startup.m, which is located in the matlab/toolbox/local directory.
- Make sure there is only one line indicating the path to the Altlib directory. A sample entry is: path (path, 'c:\DSPBuilder\Altlib');
- Restart MATLAB.
As a secondary check, type path at the MATLAB prompt and ensure that it only returns one path for DSP Builder.