You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
ScanIR_v2.m fails to save the HRTFs measurement as a SOFA file, even though the SOFA API directory is present in the ScanIR_v2 parent folder.
Here is the error message I get:
Warning: ATTENTION: SOFA saving feature failed!
You need to download the SOFA API for MATLAB/Octave from:SOFA website.
Please add the directory to the ScanIR_v2 parent folder to use the SOFA
functions
In ScanIR_v2>saveButton_Callback (line 464)
In gui_mainfcn (line 95)
In ScanIR_v2 (line 51)
In matlab.graphics.internal.figfile.FigFile/read>@(hObject,eventdata)ScanIR_v2('saveButton_Callback',hObject,eventdata,guidata(hObject))
Warning: File 'ScanIR_AutoSave.mat' not found.
In ScanIR_v2>saveButton_Callback (line 471)
In gui_mainfcn (line 95)
In ScanIR_v2 (line 51)
In matlab.graphics.internal.figfile.FigFile/read>@(hObject,eventdata)ScanIR_v2('saveButton_Callback',hObject,eventdata,guidata(hObject))
The text was updated successfully, but these errors were encountered:
This is odd - which matlab version and OS are you using?
Is the api folder added to the path by the code? If not try to add the api folder to path manually
I'm using Matlab R2018A and mac OS High Sierra 10.13.6
The SOFA API folder was already added to my Matlab path. However, I've tried to add the path of other SOFA API versions, including path of the SOFA API included in the ScanIR-master folder, but the issue is still present.
I've run ScanIR_v2.m in debug mode and monitored the 'error' when executing the snippet in the 'try' section at lines 459-462, which explains why the code enter the 'catch' section.
identifier: 'MATLAB:NonScalarInput'
message: 'Size inputs must be scalar.'
More info in the .mat file attached
ScanIR_v2.m fails to save the HRTFs measurement as a SOFA file, even though the SOFA API directory is present in the ScanIR_v2 parent folder.
Here is the error message I get:
Warning: ATTENTION: SOFA saving feature failed!
You need to download the SOFA API for MATLAB/Octave from:SOFA website.
Please add the directory to the ScanIR_v2 parent folder to use the SOFA
functions
The text was updated successfully, but these errors were encountered: