Invalid MEX-file The specified module could not be found (DSP Builder Advanced Blockset)

6 Ansichten (letzte 30 Tage)
Hello,
I use MATLAB R2022b with Quartus Prime Standard 19.1 and DSP Builder 19.1. But it does not work as expected. Here is what I do.
Open “DSP Builder – Start in MATLAB R2022b_x64”
Open Simulink
DSP Builder – New Model Wizard
MATLAB Command Window tells me
Making new model of type Fixed-Point IP (simple testbench)...A copy of the original file "test1.mdl" has been created because it was last saved in an earlier version of Simulink. To recover the original version, rename the file "test1.mdl.r2013a" as "test1.mdl".
You can turn this feature off using the Simulink Preferences. Click here if you don't want to see this message again.
Error while obtaining sizes from MEX S-function 'mip_chanview' in 'test1/ChanView'.
DSP Builder – New Model Wizard – Output shows
Error from MATLAB: Error while obtaining sizes from MEX S-function 'mip_chanview' in '<a ref="matlab:open_and_hilite_hyperlink ('test1/ChanView','error')">test1/ChanView</a>'.
Sometimes it shows instead
Error from MATLAB: Error while obtaining sizes from MEX S-function 'mip_control' in '<a href="matlab:open_and_hilite_hyperlink ('test1/Control','error')">test1/Control</a>'.
Open test1.mdl
Click on “Hardware generation is on / Automatic testbenches are on” to open the "DSP Builder for Intel FPGAs Blockset – Settings"
Click OK (with or without changing the settings)
Matlab Command Window
Error using ControlInit
Error while obtaining sizes from MEX S-function 'mip_control' in 'test1/Control'.
Error in dspba.SettingsLaunch - Show complete stack trace
Caused by:
Error using ControlInit
Invalid MEX-file 'C:\APPS\Altera19\quartus\dspba\Blocksets\BaseBlocks\windows64\mip_control.mexw64': The specified module could not be found. - Show complete stack trace
With “Dependency Walker” I found out, that multiple dll’s are missing . There are so many missing, that I can’t add them manually. How can I fix that?
By accident I found out that the error disappears, when I first run the model and the open&OK the settings. But then I get instead the following warning in the MATLAB command window
Warning: Error parsing: unable to open primary document entity 'C:/Test_DSP1/test1_params.xml'
> In ControlInit
In ControlInit
In dspba.SettingsLaunch
Warning: Error parsing: unable to open primary document entity 'C:/Test_DSP1/test1_params.xml'
> In ControlInit
In dspba.SettingsLaunch
What does that mean?
Thank you for your support

Akzeptierte Antwort

Stefanie Schwarz
Stefanie Schwarz am 19 Mai 2023
Unfortunately, the issue appears to be with the DSP Builder tool which is external to MathWorks. You may want to reach out to Intel technical support for further assistance with this issue. You can refer to the following link to access Intel support:
From our experience in Tech Support, issues are often caused by incompatibilities between the DSP Builder tool version and the used MATLAB version. Refer to the DSP Builder Release Notes for more information:
From this link, it looks like the latest MATLAB version supported with Quartus 19.1. is MATLAB R2018b. You appear to be using a much newer MATLAB R2022b. We recommend using MATLAB R2018b instead:

Weitere Antworten (0)

Produkte


Version

R2022b

Community Treasure Hunt

Find the treasures in MATLAB Central and discover how the community can help you!

Start Hunting!

Translated by