Forum Discussion

GBies's avatar
GBies
Icon for New Contributor rankNew Contributor
7 years ago

SystemConsole.designLoad does not work in MATLAB

Hi,

I'm using system console with Matlab and everything works, except SystemConsole.designLoad command. I have to load file manually with quartus before matlab procedures.

I issue a command:

SystemConsole.designLoad('C:\\MyPath\\file.sof');

but matlab shows error:

SEVERE: design_load: Specified Quartus Project path or QPF file doesn't exist: C:\intelFPGA\18.0\quartus\dsp_builder\C:MyPathfile.sof

As You can see a path argument is corrupted inside procedure and contaminated with default path.

Anyone had such problems?

I'm using Q18.0

2 Replies

  • CheepinC_altera's avatar
    CheepinC_altera
    Icon for Regular Contributor rankRegular Contributor
    Hi Grzegorz, As I understand it, you are observing some issue with the design load when using system console in Matlab. Based on your observation, seems like default path in Matlab have default directory of DSP builder added. Also, the "\\" seems to be missing from the path as well. As a workaround, can you try to place your file.sof into the dsp_builder installation directory to see it works.
  • CheepinC_altera's avatar
    CheepinC_altera
    Icon for Regular Contributor rankRegular Contributor
    Alternatively, you can program the sof using Quartus prior to using the Matlab to avoid gating your progress.