Lead-DBS
  • Home
  • About
    • Quickstart Primer (Post-OP MR-Scans)
    • Data & Code inclusion philosophy
    • Quickstart Primer (Post-OP CT-Scans)
    • Deep Brain Stimulation
    • Lead Connectome
    • Publications
    • List of Lead-DBS dependencies
    • Citing Lead-DBS
  • News
  • Contact
  • Help/Support
    • Manual
    • Knowledge Base
      • Atlases/Resources
        • Subcortical Atlases (MNI-Space)
        • Cortical Atlas Parcellations (MNI-Space)
        • Macaque Atlases (MNI-Space)
        • The DISTAL atlas
        • FEM-based VTA model
        • Normative Connectomes
      • Lead-DBS Methods
        • Subcortical Electrophysiology Mapping (SEM)
        • AC/PC to MNI conversion
        • Connectivity Benefit Mapping
      • Other Videos
      • Screenshots
      • Walkthrough-Videos
    • Slack User Channel
    • Forum
  • Workshops
    • Past workshops
      • Berlin 2016
      • Shanghai September 2018
      • Hamburg February 2019
    • Berlin September 2019
    • Machine Learning – Berlin September 2019
    • Brisbane February 2020
  • Download
  • Lead-Connectome
  • Search
  • Menu Menu

Error in VTA calculation

You are here: Home1 / Forums2 / Support forum ARCHIVED – Please use Slack Channel instead3 / Error in VTA calculation4
Viewing 5 posts - 1 through 5 (of 5 total)
  • Author
    Posts
  • 08/26/2018 at 4:41 PM #5333
    rubenscury
    Participant

    Dear colleagues,

    I’m getting a trouble while calculating the VTA, either in the Lead DBS or in the Lead Group – it always appears “error in calculating VTA”

    The following message appears while running “Prepare stats” in lead group:

    At compilation, “volume” was determined to be a variable and this variable
    is uninitialized. “volume” is also a function name and previous versions of
    MATLAB would have called the function. However, MATLAB 7 forbids the use of
    the same name in the same context as both a function and a variable.

    Error in lead_group>calculatebutton_Callback (line 1280)
    stimparams(1,side).volume=volume;

    Error in gui_mainfcn (line 95)
    feval(varargin{:});

    Error in lead_group (line 42)
    gui_mainfcn(gui_State, varargin{:});

    Error in
    @(hObject,eventdata)lead_group(‘calculatebutton_Callback’,hObject,eventdata,guidata(hObject))

    Error while evaluating UIControl Callback
    …
    I’m using Matlab 14b

    Does anyone know what to do?
    Regards,
    Rubens Cury

    08/26/2018 at 6:42 PM #5336
    rubenscury
    Participant

    Actually now it works. I was setting the SimBio model for VTA, but trying the other ones the “prepare stats” runs perfectly. The problem now is in the next step: correlate variable (updrs improvement) with VTA intersection

    The following error appears:

    VI_BH
    Undefined function ‘corr’ for input arguments of type ‘double’.

    Error in ea_permcorr (line 17)
    r(a) =corr(x(:,a),y,’type’,type,’rows’,’pairwise’);

    Error in ea_corrplot_gen (line 39)
    [R,p]=ea_permcorr(X(:,1),X(:,2),’spearman’);

    Error in lead_group>corrbutton_vta_Callback (line 571)
    [R_upd,p_upd,R,p,f]=ea_corrplot_gen([stats.corrcl,stats.vicorr.nboth],description,stats.vc_labels,[],[],’permutation’);

    Error in gui_mainfcn (line 95)
    feval(varargin{:});

    Error in lead_group (line 42)
    gui_mainfcn(gui_State, varargin{:});

    Error in
    @(hObject,eventdata)lead_group(‘corrbutton_vta_Callback’,hObject,eventdata,guidata(hObject))

    Error while evaluating UIControl Callback

    Does anybody can help me?
    Many Thanks
    Rubens

    08/26/2018 at 8:04 PM #5338
    andreashorn
    Keymaster

    Hi Rubens,

    corr is a built-in Matlab function but part of the Stats & ML toolbox (https://www.mathworks.com/help/stats/corr.html) needed for some functions of Lead-DBS.
    You can probably use an alternative function for correlation and replace the call in
    ea_permcorr (line 17) if you have no access to the toolbox.

    Best, Andy

    08/26/2018 at 10:11 PM #5340
    rubenscury
    Participant

    Thanks Andy,
    I was using Matlab 2014b. Now I installed the 2018a version and the “corr” function is working normally.

    Many thanks again
    Best, Rubens

    09/11/2018 at 8:04 PM #5422
    andreashorn
    Keymaster

    Great!

  • Author
    Posts
Viewing 5 posts - 1 through 5 (of 5 total)
  • The forum ‘Support forum ARCHIVED – Please use Slack Channel instead’ is closed to new topics and replies.

Your Account

Log In
Register

Forum Statistics

Registered Users
132
Forums
1
Topics
185
Replies
607
Topic Tags
81

Subscribe to our newsletter

Latest Tweets

  • Tweet Avatar
    leaddbs
    @leaddbs
    Nice study led by @DrAlfonsoFasano on GPi-DBS for pediatric dystonia. Voxel cluster most associated with clinical i… https://t.co/IScNqVQX94

    13h
  • Tweet Avatar
    leaddbs
    @leaddbs
    This is probably the oldest easteregg in @leaddbs, surprising that it survived until now from the very first releas… https://t.co/qqcUBw3nW1

    4d
  • Tweet Avatar
    leaddbs
    @leaddbs
    RT @Chencheng_Zhang: Our study demonstrates the beneficial effects of GPi-DBS for treating camptocormia in PD patients in the short term https://t.co/eq03g2oKb2

    5d

Recent Posts

  • Lead-DBS on the cover of NeuroImage
  • Lead-DBS on the cover of Biological Psychiatry
  • Lead-DBS on the cover of Annals of Neurology
  • Crucial methodological updates for Lead-DBS
  • 2nd Lead-DBS Workshop in Shanghai, China

Archives

  • September 2020
  • June 2019
  • November 2018
  • September 2018
  • August 2018
  • March 2018
  • November 2017
  • September 2017
  • July 2017
  • April 2017
  • July 2016
  • June 2016
  • May 2016
  • March 2016
  • December 2015
  • November 2015
  • April 2015
  • January 2015
  • December 2014
  • October 2014
  • September 2014
  • July 2014
  • June 2014

Impressum & Datenschutzerklärung

Scroll to top