I am new user of Toast++.and want to lean this tool box for my thesis.
but i am facing a problem while installing toolbox to MATLab
acording to the given procedure whenever i try to run mtoast2_install.m
matlab give error as shown below
Adding search paths for TOAST Matlab scripts and MEX files.
This problem usually indicates that the directory structure of the toast toolbox is incorrect or incomplete. This is often caused by errors in extracting the toolbox package. Things to check:
make sure you download two packages: (a) the "common" package containing the device-independent scripts and data files (e.g.toast_v1.0.4_common.zip) and (b) the package containing the device-dependent binaries (e.g. toast_v1.0.4_win64.zip)
unpack both packages into the same directory. You should end up with a single "toast" directory containing the contents of both packages. Note that some unzip utilities, especially on Windows, add an additional directory top layer containing the name of the zip archive, which migh mean that you end up with two separate directories toast_v1.0.4_common\toast and toast_v1.0.4_win64\toast. If that happens, you have to merge to contents of those two directories yourself.
open matlab and cd to the toast root directory (the directory containing mtoast2_install.m. Run mtoast2_install from that directory. Note that if for some reason the toast root directory is on the matlab search path, and you run mtoast2_install from a different directory (e.g. your Matlab startup directory), the paths will be set incorrectly. From the output in your first post, it looks like this is what might have happened.
For the next release, I will add a few more checks to mtoast2_install to ensure the validity of the toast directory tree before attempting to set the search paths.
In the meantime, please let me know if following the above procedure solves your installation problems.
Martin
If you would like to refer to this comment somewhere else in this project, copy and paste the following link:
I am new user of Toast++.and want to lean this tool box for my thesis.
but i am facing a problem while installing toolbox to MATLab
acording to the given procedure whenever i try to run mtoast2_install.m
matlab give error as shown below
Found existing toast directories in path:
C:\Users\Umair.Umairhashmi\Desktop\toast
Delete existing toast directories? Y/N [Y]: y
TOAST root directory: C:\Program Files\MATLAB\R2011a\bin
TOAST arch directory: C:\Program Files\MATLAB\R2011a\bin\win\x64\Release
**??? Error using ==> textscan
First input can not be empty.
Error in ==> mtoast2_install at 88
p = textscan(p,'%s'); % split path into separate elements
..
how to fix it this ????
my OS is Windows 8.1pro 64bit
and MATLab version is R2011a
Last edit: Umair Hashmi 2016-04-20
Hey, I'd faced the same issue. Try traversing to the toast folder that contains the mtoast2_install.m file before running it
how to traversing ??? i couldn't get your point
This problem usually indicates that the directory structure of the toast toolbox is incorrect or incomplete. This is often caused by errors in extracting the toolbox package. Things to check:
For the next release, I will add a few more checks to mtoast2_install to ensure the validity of the toast directory tree before attempting to set the search paths.
In the meantime, please let me know if following the above procedure solves your installation problems.
Martin