I open the attached model in MATLAB 7.0.1 (R14SP1) and save it Simulink 5.1 (R13SP1) format. When I open the model in Simulink 5.1 (R13SP1) I receive the following segmentation violation:
Warning: Loading model 'test_r13sp1' generated with a newer version (6.1) of Simulink. > In \\pc2unix\ARCHIVE\R13\sp1\perfect\toolbox\matlab\general\private\openmdl.m at line 13 In \\pc2unix\ARCHIVE\R13\sp1\perfect\toolbox\matlab\general\open.m at line 125 In \\pc2unix\ARCHIVE\R13\sp1\perfect\toolbox\matlab\uitools\uiopen.m at line 142 ------------------------------------------------------------------------ Segmentation violation detected at Fri Jun 24 14:00:45 2005 ------------------------------------------------------------------------ Stack Trace: [0] simulink.dll:int __cdecl GetParamInfoArrayForSetParam(struct slBlock_tag const *,char const *,struct slParamInfo_tag * *,int *)(0, 0x7a4bfed0 "nBitShiftRight", 0x00dfa6e8, 0x00dfa6e4) + 9 bytes [1] simulink.dll:_set_block_param(0, 0x7a4bfed0 "nBitShiftRight", 0x7a4b5898, 1) + 357 bytes [2] simulink.dll:_mdl_lex(0x7a2034df "èÜ3", 0x00dfae94, 0, 0) + 3499 bytes [3] simulink.dll:void __cdecl parse_mdl_file(void)(0, 0x00dfa980 "T:\cases\1-1JACII\test_r13sp1.md..", 0, 0) + 5 bytes <SNIP>
Best Answer