The Neural Network Toolbox BPN in MATLAB

The issue lies in the fact that the desired output for the first class, which should ideally be close to zero, is not being achieved. Upon inputting a vector from the first class into the trained network, the output is approximately 0.5 instead of the desired close-to-zero value.

The stacks extension provides details regarding the msdt_a1 module.


!stacks [Detail [FilterString]] 

The display level can be specified to determine the level of detail. The table below provides a list of valid values for the display level.


Shows an overview of the current <a class=”text-blue-600″ href=”” title=”What is a kernel stack used for?”>kernel stack</a> s. This is the preset value.


Currently, both the paged-out memory and the kernel stacks are being considered.


The complete parameters for all stacks, including stacks that are currently paged out and the current kernel stacks, are shown.

The FilterString function is used to show only threads that have the specified substring in a symbol.


To obtain details on kernel stacks, refer to the book titled “Microsoft Windows Internals” authored by Mark Russinovich and David Solomon.


The “stacks” extension provides a concise summary of the status of each thread. It can be utilized as an alternative to the “process” extension for obtaining a rapid system overview, particularly when troubleshooting multithread problems like resource conflicts or deadlocks.

The user-mode extension, called “!findstack”, also provides details on specific stacks.

The provided text showcases the most basic demonstration of stacks in a display format.

kd> !stacks 0
Proc.Thread  .Thread  ThreadState  Blocker
   4.000050  827eea10  Blocked    +0xfe0343a5
  b0.0000a8  82723b70  Blocked    ntoskrnl!_KiSystemService+0xc4
  b0.0000c8  82719620  Blocked    ntoskrnl!_KiSystemService+0xc4
  b0.0000d0  827d5d50  Blocked    ntoskrnl!_KiSystemService+0xc4

The initial column displays the process ID along with the thread ID, which are separated by a period.

The current address of the thread’s
block is located in the second column.

The state of the thread (initialized, ready, running, standby, terminated, transition, or blocked) is displayed in the third column.

The top address on the stack of the thread is displayed in the fourth column.

These are additional illustrations of more specific output from stacks.

kd> !stacks 1
Proc.Thread  .Thread  ThreadState  Blocker
   4.000008  827d0030  Blocked    ntoskrnl!MmZeroPageThread+0x66
   4.000010  827d0430  Blocked    ntoskrnl!ExpWorkerThread+0x189
   4.000014  827cf030  Blocked    Stack paged out
   4.000018  827cfda0  Blocked    Stack paged out
   4.00001c  827cfb10  Blocked    ntoskrnl!ExpWorkerThread+0x189
  9c.000098  82738310  Blocked    Stack paged out
  9c.0000a0  826a5190  Blocked    Stack paged out
  9c.0000a4  82739d30  Blocked    Stack paged out
  b0.0000bc  826d0030  Blocked    Stack paged out
  b0.0000b4  826c9030  Blocked    Stack paged out
  b0.0000a8  82723b70  Blocked    ntoskrnl!_KiSystemService+0xc4
kd> !stacks 2
Proc.Thread  .Thread  ThreadState  Blocker
   4.000008  827d0030  Blocked    ntoskrnl!KiSwapThread+0xc5
   4.000010  827d0430  Blocked    ntoskrnl!KiSwapThread+0xc5

Frequently Asked Questions