Forum Discussion
DSP Builder Installation Problem
im using matlab 7.4.0 (im not sure which version was it but i think its pretty old) with quartus ii 7.2sp3 and dsp builder ii 7.2 sp3. when install the dsp builder i have the following message appeared on the matlab command window:
To get started, type one of these: helpwin, helpdesk, or demo. For product information, visit www.mathworks.com (http://www.mathworks.com). Install type is install Adding path : c:\altera\72sp3\quartus\dsp_builder\bin\matlab Adding path : c:\altera\72sp3\quartus\dsp_builder\bin Adding path : c:\altera\72sp3\quartus\dsp_builder\bin\mdllibrary DSP Builder path saved. Creating board components Error executing : createSBlock('ComponentFactory', 'Cyclone_III_EP3C25_alteradspbuilder2', 'Cyclone_III_EP3C25:config', 'Cyclone III EP3C25 Starter Board'); Previous command was : new_system('Cyclone_III_EP3C25_alteradspbuilder2', 'Library'); ??? Too many inputs. Error in ==> <a href="error:c:\altera\72sp3\quartus\dsp_builder\bin\matlab\setupDSPBuilderPath.m,94,1">setupDSPBuilderPath at 94</a> alt_dspbuilder_createComponentLibrary; » simulink » QUARTUS_ROOTDIR\dsp_builder\bin does not contain BlockInfo.dll Please ensure DSP Builder is installed correctly and that the environment variable QUARTUS_ROOTDIR points to your quartus installation. so i do believe something gone wrong when i install the dsp builder. any advice? or is my matlab version is not compatible with the other software?19 Replies
- Altera_Forum
Honored Contributor
i installed matlab7.4(matlab2007a)and quartus ii 7.2 sp3 and dspbuilder 7.2sp3, both in windows xp and windows vista,everything is ok,and it is only the right version i have installed which did not have errors,also, the quartus 8.0 and matlab2008a also have some problems,
You'd better install matlab7.4 first,then quartus 7.2 ,then 7.2sp, then dsp 7.2,dsp7.2sp3,modelsim.Then if you also have some problems, it must be some problems with your windows system. - Altera_Forum
Honored Contributor
--- Quote Start --- i installed matlab7.4(matlab2007a)and quartus ii 7.2 sp3 and dspbuilder 7.2sp3, both in windows xp and windows vista,everything is ok,and it is only the right version i have installed which did not have errors,also, the quartus 8.0 and matlab2008a also have some problems, You'd better install matlab7.4 first,then quartus 7.2 ,then 7.2sp, then dsp 7.2,dsp7.2sp3,modelsim.Then if you also have some problems, it must be some problems with your windows system. --- Quote End --- hi, thanks for the info. i found out something very weird. even though this dsp builder is not properly installed, i still manage to simulate and compile using the signal compiler, even though the diagram of the component is not right and lots of complains appears on the matlab command window. why is this so? and my home pc is using same quartus and dsp builder but matlab 2006a is used. whenever i try to compile the matlab, simulink will be jammed and not responding. so tis due to the incompatible matlab version i installed? - Altera_Forum
Honored Contributor
First of all can you confirm what QUARTUS_ROOTDIR points to? Just type getenv('QUARTUS_ROOTDIR') at the MATLAB command prompt.
Next up can you type "sGeneric" at the MATLAB command prompt. You should get an error (even if it's fine - since you didn't give any parameters). Please paste the error text here. And finally can you list the contents of the directory c:\altera\72sp3\quartus\dsp_builder\bin ? - Altera_Forum
Honored Contributor
hi.i think you're right,but the compatibilitites of altera'software is not so good,also.the dspbuilder works well depends on not only itself,but also matlab,maybe ug_dspbuilder.pdf which you can download from altera.com is your good teacher,after the installation of matlab and quartus,when you install ipcore and dsp,their directory you'd better select with default.
- Altera_Forum
Honored Contributor
--- Quote Start --- First of all can you confirm what QUARTUS_ROOTDIR points to? Just type getenv('QUARTUS_ROOTDIR') at the MATLAB command prompt. Next up can you type "sGeneric" at the MATLAB command prompt. You should get an error (even if it's fine - since you didn't give any parameters). Please paste the error text here. And finally can you list the contents of the directory c:\altera\72sp3\quartus\dsp_builder\bin ? --- Quote End --- i got the following: >> getenv('QUARTUS_ROOTDIR') ans = c:\altera\72sp3\quartus >> sGeneric ??? MEX level2 S-function "sGeneric" must be called with at least 4 right hand arguments and for the second command, sgeneric i got the following pop up: This application has failed to start because BlockInfo.dll was not found. Re-installing the application may fix this problem then i attach the list of file i have in c:\altera\72sp3\quartus\dsp_builder\bin - Altera_Forum
Honored Contributor
--- Quote Start --- i got the following: >> sGeneric ??? MEX level2 S-function "sGeneric" must be called with at least 4 right hand arguments and for the second command, sgeneric i got the following pop up: This application has failed to start because BlockInfo.dll was not found. Re-installing the application may fix this problem --- Quote End --- Are you saying you ran the sGeneric command twice and it printed different error messages? - Altera_Forum
Honored Contributor
--- Quote Start --- Are you saying you ran the sGeneric command twice and it printed different error messages? --- Quote End --- i mean i ran it once but two error message came out. - Altera_Forum
Honored Contributor
I'm having the same problem after DSP builder installation,
I have installed Quartus 7.2 sp3, matlab r2007b and dsp builder 7.2 sp3 I've reinstalled matlab and dsp builder but I always have the same error. - Altera_Forum
Honored Contributor
The error message "QUARTUS_ROOTDIR\dsp_builder\bin does not contain BlockInfo.dll" is produced when DSPB detects something went wrong and tries to diagnose what might be wrong with the installation. It does the following check:
blockinfoFile = fullfile(getenv('QUARTUS_ROOTDIR'), 'dsp_builder', 'bin', 'BlockInfo.dll'); file_status = exist(blockinfoFile, 'file'); if file_status ~= 3 ... error end So I'm a little confused about why it would say it couldn't find the file unless it didn't exist. Is there anything interesting about your machine/setup, I should know? Is it Windows XP or Vista? 32 bit or 64 bit? If 64 bit, is matlab 32-bit (64-bit matlab is not supported)? Do you have other versions of Quartus installed? Are these other versions on the system path? - Altera_Forum
Honored Contributor
--- Quote Start --- The error message "QUARTUS_ROOTDIR\dsp_builder\bin does not contain BlockInfo.dll" is produced when DSPB detects something went wrong and tries to diagnose what might be wrong with the installation. It does the following check: blockinfoFile = fullfile(getenv('QUARTUS_ROOTDIR'), 'dsp_builder', 'bin', 'BlockInfo.dll'); file_status = exist(blockinfoFile, 'file'); if file_status ~= 3 ... error end So I'm a little confused about why it would say it couldn't find the file unless it didn't exist. Is there anything interesting about your machine/setup, I should know? Is it Windows XP or Vista? 32 bit or 64 bit? If 64 bit, is matlab 32-bit (64-bit matlab is not supported)? Do you have other versions of Quartus installed? Are these other versions on the system path? --- Quote End --- hmmm...after all these trouble, i uninstall my matlab and reinstall newer version of matlab which is 2007a. everything goes fine so far. i saw ur reply on the other thread saying that only matlab 7.0.4 couldnt support DSP builder so i change my matlab. thanks alot!