When I tried to run a simulation using SimMEEG within Brainstorm, I encountered this kind of error.”
How should I deal with it?
When I tried to run a simulation using SimMEEG within Brainstorm, I encountered this kind of error.”
How should I deal with it?
Hi @SotomeTsubasa, the line reported in the error does not correspond with the current state of the code. Please check and report the following, you need to start Brainstorm before running these commands:
Brainstorm version
bst_get('Version')
Directory for the Brainstorm application (you need to start Brainstorm first)
bst_get('BrainstormHomeDir')
The path for bst_simmeeg.m
which('bst_simmeeg.m', '-all')
Thank you for your replying!
I report the results executing the command as per your instructions below.
** Error: Line 164: Index exceeds the number of array elements. Index must not exceed 0.
**
** Call stack:
** >bst_simmeeg.m>LoadInputs at 164
** >bst_simmeeg.m>GUI at 42
** >bst_simmeeg.m at 26
** >bst_call.m at 28
** >tree_callbacks.m>@(h,ev)bst_call(@bst_simmeeg,'GUI',iStudy) at 774
**
bst_get('Version')
ans =
struct with fields:
Name: 'Brainstorm'
Version: '3.251217'
Release: '251217'
Date: '17-Dec-2025'
Commit: []
bst_get('BrainstormHomeDir')
ans =
'/Users/saotomeshou/Desktop/M1/実験/シミュレーション/brainstorm3'
which('bst_simmeeg.m', '-all')
/Users/saotomeshou/Desktop/M1/実験/シミュレーション/brainstorm3/toolbox/gui/bst_simmeeg.m
Hello @SotomeTsubasa, thank you for the provided information.
It seems that you are trying to use SimMEEG without a head model in the condition, is that the case?