(Sorry for missing Chinese input in linux. )
I have no intention to bring this topic again. But I met the similar problem recently with Matlab 2014 and cppsim current version in ubuntu 14.04. Reading test.tr0 from cppsim gets the following error.
------------------------------
x=loadsig('test.tr0')
error in hs_determine_variables: block trailer mismatch
One or more output arguments not assigned during call to "loadsig".
------------------------------
I have not found a suitable solution from the bbs. Then recheck www.cppsim.com, getting the solution. It is already there...
We need to add:
Download Contributed Functions for Hspice Toolbox for Matlab
(hspice_toolbox_contributed.tar.gz)