Menu

Installation of MATLab toolbox

2016-04-20
2016-05-13
  • Umair Hashmi

    Umair Hashmi - 2016-04-20

    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.

    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
  • Shreyas Padhy

    Shreyas Padhy - 2016-04-21

    Hey, I'd faced the same issue. Try traversing to the toast folder that contains the mtoast2_install.m file before running it

     
  • Umair Hashmi

    Umair Hashmi - 2016-04-27

    how to traversing ??? i couldn't get your point

     
  • Martin Schweiger

    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

     

Log in to post a comment.

Want the latest updates on software, tech news, and AI?
Get latest updates about software, tech news, and AI from SourceForge directly in your inbox once a month.