Forum Discussion
Altera_Forum
Honored Contributor
15 years ago"whenever i try adding ports to the block through optional ports settings" is pretty vague!
It sounds like you're using DSP Builder Standard rather than Advanced. It also sounds like in this example you've added a Counter block to your design and tried adding some extra ports to the block. I've just done the same and can't replicate the errors you're seeing. What may be happening though is that your paths are not set up properly or you may be running 64-bit MATLAB which is not currently supported. Please type the following at the MATLAB prompt: >> mexext This should print "mexglx" on MATLAB running on Linux. If it says "mexa64", you're running MATLAB in 64-bit mode. Start MATLAB with "matlab -glnx86" to force it into 32-bit mode. >> which sGeneric This should point to a file that ends in .mexglx. If it can't find it then your paths are not set up properly. >> javaclasspath -dynamic This should report that the file "dspb_sblocks.jar" is on the Java classpath. If it's not then your Java path is not set up properly. (In some cases it may be on the static class path in which case javaclasspath -static will show you this).