Altera_Forum
Honored Contributor
12 years agoError evaluating 'PreSaveFcn' callback of Input AlteraBlockset block
Hi,
I have installed the latest Quartus II with the DSP Builder, combined with the 64-bit version of MATLAB R2013a (8.1.0.604). The operating system is Ubuntu 12.04. As much as I can see, all building blocks from both Altera Blocksets seem to cause no problems, but the normal "Input" and "Output" blocks. These blocks, once added to the model, prevent me from saving the model with the following error: "An error occurred during a callback while saving '../matlab_documents/test4.slx'. The previously saved version of this file (if any) has not been changed. Error evaluating 'PreSaveFcn' callback of Input AlteraBlockset block (mask) 'test4/Input'. Error reported by S-function 'sInOut' in 'test4/Input': java.lang.NullPointerException at com.altera.dspbuilder.simulation.Model.getAbsoluteTestbenchPath(Unknown Source) at com.altera.dspbuilder.simulation.Model.getValidIOFile(Unknown Source) at com.altera.dspbuilder.simulation.Model.getSaltFileForBlock(Unknown Source) at com.altera.dspbuilder.simulation.blocks.IOBlock.getIOFile(Unknown Source) at com.altera.dspbuilder.simulation.blocks.IOBlock.getIOFileNames(Unknown Source) at com.altera.dspbuilder.simulation.blocks.IOBlock.access$000(Unknown Source) at com.altera.dspbuilder.simulation.blocks.IOBlock$IOBlockLibrary$1.eval(Unknown Source) at com.altera.etc.minieval.MiniEvalImpl.call(Unknown Source) at com.altera.etc.minieval.MiniEvalImpl._factor(Unknown Source) at com.altera.etc.minieval.MiniEvalImpl._term(Unknown Source) at com.altera.etc.minieval.MiniEvalImpl._expr3(Unknown Source) at com.altera.etc.minieval.MiniEvalImpl._expr2(Unknown Source) at com.altera.etc.minieval.MiniEvalImpl._expr(Unknown Source) at com.altera.etc.minieval.MiniEvalImpl._cond(Unknown Source) at com.altera.etc.minieval.MiniEvalImpl._root(Unknown Source) at com.altera.etc.minieval.MiniEvalImpl._top(Unknown Source) at com.altera.etc.minieval.MiniEvalImpl.evaluate(Unknown Source) at com.altera.dspbuilder.simulation.Block.calculateExpressionParameters(Unknown Source) at com.altera.dspbuilder.simulation.Mask.init(Unknown Source)" Does anybody have an idea how to resolve this? Thanks in advance! PS: I've just realized that this happens only if I try to save the model in the .slx format. It doesn't occur if I use the .mdl extension instead.