本人是matlab的初学者,想仿真一个卷积码的程序。编了两个文件...不知道为啥总是调试不通,想问问高手这个程序哪里有问题...因为我对matlab才接触了三天,一直怀疑自己是不是调试的什么地方设置的不对才调不通的?
程序我已经上传了,运行结果如下:
>> samplemain
??? Error using ==> sim
Error in block 'sample/General CRC Generator': Block parameter 'General CRC Generator' cannot be evaluated.  MATLAB error message: Error: "End of Input" expected, "identifier" found.

Error in ==> d:\MATLAB6p5\work\samplemain.m
On line 33  ==> sim('sample');
>>