Altera_Forum
Honored Contributor
16 years agoSimulation error caused by S-function
Hello,
I am trying to simulate sample example of DSP builder. But when i start simulation, some errors occured depending on S-function parameters. Here you can find the type of errors seen in Simulink: ------------------------- S-function parameter count mismatch. S-function sInOut in singen/SinIn is expecting 0 parameters while 8 were provided in the dialog box. -------------------------- End error seen in MATLAB: -------------------------- Error in block : singen/SinIn Java exception occurred: com.altera.dspbuilder.simulation.templates.BlockTemplateException: Error creating block template : com.altera.dspbuilder.blockset.iobus.Input at com.altera.dspbuilder.simulation.templates.BlockXMLParser.createBlock(Unknown Source) at com.altera.dspbuilder.simulation.templates.BlockXMLParser.getBlockTemplate(Unknown Source) ..and goes down like that --------------------------- I tried with MATLAB 2007b and 2008b with DSP Builder v8.1, but it doesn't simulate.... I don't get how to I solve this issue and I can't find any related/reported problems on the forum please help Thank you... Enes You can also send your solution directly to my e-mail: enes.dilcan@gmail.com