Hi, Can you try to update design (ctrl + D) to see if you get more information on the error? Cheers, Amit
On 28 August 2017 09:10:56 CEST, Heystek Grobler <[email protected]> wrote: >Hi Jack > >I have tried that but it still does not work. I have tried it with all >casper tutorials. The file “gen_xps_files.m” gives the problem. It is >this >three veriables > >xps_objs >custom_xps_objs >core_types > >[image: Inline image 1] > >It breaks at line 255 > >I cant figure out what is causing it. > >Heystek > >On Fri, Aug 25, 2017 at 6:45 PM, Jack Hickish <[email protected]> >wrote: > >> Weird. I'm guessing that is a software register? if you select the >block >> that's throwing the error, then in matlab type >"update_casper_block(gcb)" >> (which will delete that block and replace it with a fresh copy from >the >> library) does that help at all. >> >> Cheers >> Jack >> >> On Fri, 25 Aug 2017 at 04:21 Heystek Grobler ><[email protected]> >> wrote: >> >>> Good day everyone! >>> >>> I have one more weird problem. If I run casper_xps and start the >>> compilation, everything works until the file creation part. I keep >getting >>> this error: >>> >>> casper_xps >>> Detected Linux OS############################# >>> ## System Update ## >>> ############################# >>> Warning: The model 'tutorial1' does not have continuous states, >hence >>> Simulink is >>> using the solver 'VariableStepDiscrete' instead of solver 'ode45'. >You >>> can disable >>> this diagnostic by explicitly specifying a discrete solver in the >solver >>> tab of the >>> Configuration Parameters dialog, or by setting the 'Automatic solver >>> parameter >>> selection' diagnostic to 'none' in the Diagnostics tab of the >>> Configuration >>> Parameters dialog >>> > In gen_xps_files at 202 >>> In casper_xps>run_Callback at 155 >>> In casper_xps at 88 >>> In @(hObject,eventdata)casper_xps('run_Callback',hObject, >>> eventdata,guidata(hObject)) >>> Warning: Using a default value of 0.2 for maximum step size. The >>> simulation step >>> size will be equal to or less than this value. You can disable this >>> diagnostic by >>> setting 'Automatic solver parameter selection' diagnostic to 'none' >in the >>> Diagnostics page of the configuration parameters dialog >>> > In gen_xps_files at 202 >>> In casper_xps>run_Callback at 155 >>> In casper_xps at 88 >>> In @(hObject,eventdata)casper_xps('run_Callback',hObject, >>> eventdata,guidata(hObject)) >>> ############################# >>> ## Block objects creation ## >>> ############################# >>> Problem with XPS: tag block: tutorial1/counter_value >>> >>> Error using gen_xps_files (line 255) >>> Error found during Object creation. >>> >>> Do anyone perhaps know what is going on? >>> >>> Thanks for the help >>> >>> -- >>> You received this message because you are subscribed to the Google >Groups >>> "[email protected]" group. >>> To unsubscribe from this group and stop receiving emails from it, >send an >>> email to [email protected]. >>> To post to this group, send email to [email protected]. >>> >> > >-- >You received this message because you are subscribed to the Google >Groups "[email protected]" group. >To unsubscribe from this group and stop receiving emails from it, send >an email to [email protected]. >To post to this group, send email to [email protected]. -- You received this message because you are subscribed to the Google Groups "[email protected]" group. To unsubscribe from this group and stop receiving emails from it, send an email to [email protected]. To post to this group, send email to [email protected].

