help > RE: Error: "Input structure is not correct"
Jan 20, 2015  05:01 PM | Donald McLaren
RE: Error: "Input structure is not correct"
After you create/load/modify P, can you use the command:
[P, errorval]=PPPI_checkstruct(P)

To stop the program, you can insert the word keyboard on the line before
you want the program to stop. This way, you can stop right before the PPPI
line and run the above command instead. This should produce a more detailed
message about why the program is failing.

If you get an error about Contrasts field not existing, then the likely
source is that defContrasts.m isn't in the matlab path.

If you type:
which defContrasts.m

What is the output?

Once you have added it to the path, then everything should work.

Hope this helps.

Threaded View

TitleAuthorDate
Emily Jacobs Jan 20, 2015
Emily Jacobs Jan 21, 2015
Emily Jacobs Jan 20, 2015
Donald McLaren Jan 20, 2015
Emily Jacobs Jan 20, 2015
RE: Error: "Input structure is not correct"
Donald McLaren Jan 20, 2015
Emily Jacobs Jan 20, 2015
Donald McLaren Jan 20, 2015