Matthew -- Thanks -- it looks like that fixed it! I first tried re-installing 11.1,11.3 and 11.4 but still ended up with corrupt MEX-files. Then I re-installed 11.1 and 11.4 (skipped the 11.3 step) and the toolflow appears to be working fine now.
Thanks for your help! Jonathan --- On Tue, 9/14/10, Matthew Stevenson <[email protected]> wrote: From: Matthew Stevenson <[email protected]> Subject: Re: [casper] Update from 11.3 to 11.4 corrupted toolflow To: "Jonathan Landon" <[email protected]> Cc: [email protected] Date: Tuesday, September 14, 2010, 1:41 AM Hi Johathan, Last time I was installing the 11.5 tools, I ran into a similar error. I had several "file too short" errors. Looking at the files that were named, I noticed that their sizes were 0kB. Somehow the files had become corrupted. Re-installing the Xilinx tools fixed the problem. I'm not sure what the root cause of this was. Cheers, Matthew On Sep 14, 2010, at 2:25 AM, Jonathan Landon wrote: On a 64-bit system with Matlab R2009a the toolflow worked fine with Xilinx 11.3, but when I updated to 11.4 something has changed so now Simulink doesn't load the Xilinx Blockset and gives several errors about MEX-files that appear to have been corrupted (errors included below). Has anyone else seen this problem? Thanks Jonathan Landon Warning: xbsIndex_r4.mdl, line 7: Error evaluating 'PreLoadFcn' callback of block_diagram 'xbsIndex_r4'. Invalid MEX-file '/opt/Xilinx/11.1/DSP_Tools/lin64/sysgen/bin/xlmeta.mexa64': /opt/Xilinx/11.1/DSP_Tools/lin64/sysgen/bin/xlmeta.mexa64: file too short. > In load_system at 41 In /opt/Xilinx/11.1/DSP_Tools/lin64/sysgen/bin/xlPrepareXFixJava.p>xlPrepareXFixJava at 8 In /opt/Xilinx/11.1/DSP_Tools/lin64/sysgen/bin/xlAddSysgen.p>xlAddSysgen at 87 In sysgen_startup at 62 In startup at 1 In matlabrc at 227 Warning: xbsIndex_r4.mdl, line 7: Invalid MEX-file '/opt/Xilinx/11.1/DSP_Tools/lin64/sysgen/bin/xlmeta.mexa64': /opt/Xilinx/11.1/DSP_Tools/lin64/sysgen/bin/xlmeta.mexa64: file too short. > In load_system at 41 In /opt/Xilinx/11.1/DSP_Tools/lin64/sysgen/bin/xlPrepareXFixJava.p>xlPrepareXFixJava at 8 In /opt/Xilinx/11.1/DSP_Tools/lin64/sysgen/bin/xlAddSysgen.p>xlAddSysgen at 87 In sysgen_startup at 62 In startup at 1 In matlabrc at 227 Warning: xbsIndex_r4.mdl, line 6541: Could not find saved MAT data for data tag 0 in the MDL file of block diagram xbsIndex_r4. > In load_system at 41 In /opt/Xilinx/11.1/DSP_Tools/lin64/sysgen/bin/xlPrepareXFixJava.p>xlPrepareXFixJava at 8 In /opt/Xilinx/11.1/DSP_Tools/lin64/sysgen/bin/xlAddSysgen.p>xlAddSysgen at 87 In sysgen_startup at 62 In startup at 1 In matlabrc at 227 Error occured while attempting to install System Generator into MATLAB path. >>

