Error Message when using 'Save.as' function in Neuroelf

1 Ansicht (letzte 30 Tage)
Sriparna Sen
Sriparna Sen am 7 Jan. 2020
Hi all! (thanks in advance for the help!)
I am trying to save a vmp file via Neuroelf yet it keeps giving me this error message:
Error using aft_SaveAs (line 132)
Error saving file D:/SAMP/Vision Variability Project/Code/Standard
Deviation/Debug/3X3X3.vmp: Writing cstring(s) requires char or cell array..
Error in xff/subsref (line 159)
[varargout{1}] = feval(tfm{6}, xo, fargs{:});
MY SCRIPT. The bolded section is the line I am trying to run without error
Results_Map.Map(13).Name = 'Blind mean pool';
Results_Map.Map(13).DF1=Blindnpool;
Results_Map.Map(13).VMPData(:,:,:) = Blindmeanpool(:,:,:);
Results_Map.Map(14).Name = 'Blind STD pool';
Results_Map.Map(14).DF1=Blindnpool;
Results_Map.Map(14).VMPData(:,:,:) = Blindstdpool(:,:,:);
Results_Map.Map(15).Name = 'Sighted mean pool';
Results_Map.Map(15).DF1=Sightednpool;
Results_Map.Map(15).VMPData(:,:,:) = Sightedmeanpool(:,:,:);
Results_Map.Map(16).Name = 'Sighted STD pool';
Results_Map.Map(16).DF1=Sightednpool;
Results_Map.Map(16).VMPData(:,:,:) = Sightedstdpool(:,:,:);
Results_Map.Map(17).Name = 'Blind minus Sighted mean pool';
Results_Map.Map(17).DF1=BlindMinusSightednpool;
Results_Map.Map(17).VMPData(:,:,:) = BlindMinusSightedmeanpool(:,:,:);
Results_Map.Map(18).Name = 'Blind minus Sighted STD pool';
Results_Map.Map(18).DF1=BlindMinusSightednpool;
Results_Map.Map(18).VMPData(:,:,:) = BlindMinusSightedstdpool(:,:,:);
%Results_Map.SaveAs('PHD_Rainbow_FC_calc_estCoeff_Vari_updated_Dec2019.vmp');
Results_Map.SaveAs;%('PHD_Rainbow_FC_calc_estiCoeff_Vari_updated_Dec2019.vmp');
I tried using a variable that was a character to save as the name but that didn't work. I also tried using someone else in my lab's Neuroelf package but that didn't work either and gave me the same error.

Antworten (0)

Kategorien

Mehr zu Data Import and Analysis finden Sie in Help Center und File Exchange

Community Treasure Hunt

Find the treasures in MATLAB Central and discover how the community can help you!

Start Hunting!

Translated by