From: mjhendo on 20 May 2010 03:18 Hi, I am extending an existing simulink model which has fixed point data types defined in a file such as fixdt_jc_pos = fixdt(1,32,24); fixdt_jc_force = fixdt(1,32,16); These are then used throughout the model to set input and output types. My problem is that when I create a new block and try to set the data type to fixdt_jc_pos I get an error "Invalid Data Type Specification". This seems to be a parser bug in the dialog box input validation. Any name starting with fixdt is rejected unless it is a fully formed fixdt function. Blocks that already have the data type set run ok. They were made with a previous version of simulink. One workaround I have found is to edit the .mdl as text and change the data type. Can someone with the same version confirm this is a bug? Has anyone got any better ideas to get around the problem? MATLAB Version 7.10.0.499 (R2010a) Simulink Version 7.5 (R2010a) Michael
From: Qingmin Shi on 26 May 2010 13:09 Hi, This Bug will be fixed in Simulink Version 7.6 (R2010b). Please see the bug report http://www.mathworks.com/support/bugreports/search_results?search_executed=1&keyword=Setting+the+data+type+of+a+Simulink+block+&release_filter=Exists+in&release=174&selected_products=&commit=Search for more details. Thanks, Qingmin "mjhendo" <mjhendo(a)gmail.com> wrote in message news:33e67364-575c-4138-8c91-da4fcbd0f411(a)a27g2000prj.googlegroups.com... > Hi, > > I am extending an existing simulink model which has fixed point data > types defined in a file such as > > fixdt_jc_pos = fixdt(1,32,24); > fixdt_jc_force = fixdt(1,32,16); > > These are then used throughout the model to set input and output > types. > > My problem is that when I create a new block and try to set the data > type to fixdt_jc_pos I get an error "Invalid Data Type Specification". > > This seems to be a parser bug in the dialog box input validation. Any > name starting with fixdt is rejected unless it is a fully formed fixdt > function. > > Blocks that already have the data type set run ok. They were made > with a previous version of simulink. > > One workaround I have found is to edit the .mdl as text and change the > data type. > > Can someone with the same version confirm this is a bug? > Has anyone got any better ideas to get around the problem? > > MATLAB Version 7.10.0.499 (R2010a) > Simulink Version 7.5 (R2010a) > > Michael
|
Pages: 1 Prev: classregtree -- Can X be categorical variable(s) ? Next: equation solving |