Re: I think it's a problem with the period/matrix things




"Matt F" <archmage64@xxxxxxxxxxx> wrote in message
news:gcqv72$4q6$1@xxxxxxxxxxxxxxxxxxxxx
Hi friends,

I'm trying to solve an error I keep getting when I execute my program. It
says 'index out of bounds' and then 'numel(P)=2'

I think I have a problem with not putting dots before some of my
variables?

Can anyone shed some light?

Thanks,

-Matt

This is a simple case of debugging your code.

Use the Matlab debugger, tell it to stop on error, then let it run.

When the error occur, then using the debugger examine the variables and
you'll find where/why you exceeded the bounds.

The error is clear, you have exceeded the bound of some vector or matrix.

Nasser


.



Relevant Pages

  • Re: URGENT
    ... But I've got a pretty good imagination, and may be able to "see" how they'd look in a debugger without actually doing it. ... But as best as I can imagine how the'd work in RosAsm, ... Run the Assembler and this file to read its Source. ... hit (compile & execute in Debugger mode) and then ...
    (alt.lang.asm)
  • Re: only 4k page alignments supported at this time,
    ... I copied the files from my PC to the Target device, ... using activ sync and was able to execute them on the device. ... Copying ...
    (microsoft.public.windowsce.platbuilder)
  • ntdll.dll unknown error and then os freezes,...
    ... for whatever reason i get a error message like this ... I configured a debugger to ... fine unless you execute it standalone. ... The Hard Hang is the interessting part. ...
    (microsoft.public.vc.mfc)
  • Re: Help for debug a BSOD with microsoft debugging tools
    ... Background information on Stop Error message ... Enquire, plan and execute ... If a kernel debugger is available get the stack backtrace. ... 804e3f93 66813efd02 cmp word ptr,2FDh ds: ...
    (microsoft.public.windowsxp.help_and_support)
  • Re: release build problems
    ... if I try to execute it somewhere else it says it can't find ... warning C4172: returning address of local variable or temporary ... Did you try running the release build in the debugger? ... Turn on the generation of debug info in the release build project settings and give that a try. ...
    (microsoft.public.vc.mfc)