The Nanoscale World

Troubleshooting set-up of the MATLAB toolbox for Nanoscope Analysis

rated by 0 users
This post has 1 Reply | 2 Followers

Top 10 Contributor
Posts 280
Points 6,221
Bruker Employee
Bede Pittenger Gift [G] Posted: Tue, Jul 18 2017 10:43 AM

In 2016 the MATLAB toolbox was significantly updated to support new data formats.  Additionally, it has been moved to a separate installer to make it easier to get set up and productive.  I do not recommend trying to use the older versions (supplied with Nanoscope Analysis versions prior to 1.80) any longer.  A free copy of the latest version of the MATLAB toolbox can be obtained by contacting

Depending on whether your MATLAB is 32bit or 64bit, you need will tell the installer  which version of the toolbox to install (or you can also install both).  If you use the 64bit version, it will try to install to D:\Program Files\Bruker\AFM MATLAB Toolbox or something like that.  If you use the 32bit version, it will install in a similar directory, but with ‘Program Files x86’ instead.  On my system, I don’t have a D: drive, so I need to change the destination to C:\Program Files\Bruker\AFM MATLAB Toolbox otherwise I get a ‘catastrophic failure’ error.  The installer includes both sample code (NSMatlabExamples.m) and sample files (in \MATLAB Example Files) and they will all be located in the destination directory.  After the installation the installer will display a readme file that explains how to set paths in MATLAB.  Be sure to use the correct version of the toolbox in the correct directory with whatever version of MATLAB you are using! 

You don’t need to have the corresponding version of Nanoscope Analysis on your system, but if you would like a copy for your analysis system, the AFM support team can supply an installer for that as well.  Please contact the email address above.

If you publish results analyzed using the MATLAB toolbox, please consider including the code in your supplementary materials so that others can benefit from your work.  Also, I would love a copy of your preprint!  


What type of files are you analyzing with the MATLAB Toolbox?

  • Scan Images (0%)
  • Ramp files (Force curves, etc) (0%)
  • Ramp&Hold (0%)
  • Force Volume (33.3%)
  • Force Volume with Hold (0%)
  • PeakForce Capture (33.3%)
  • HSDC (0%)
  • Ramp Script (33.3%)
  • NanoDrive Image (0%)
  • SECM (0%)
  • Other (please add a comment below) (0%)
  • Total Votes: 3
  • Voting Ended: 7/13/2018

Not Ranked
Posts 1
Points 10
Michio replied on Tue, Jun 23 2020 8:25 PM

Hi Bede,

Although I am interested in this toolbox, I am not sure where I can find the information on this Matlab toolbox (ex., what kind of function is included in this toolbox, etc.).

Would you mind letting me know that?

Thank you for your kind help.



  • | Post Points: 10
Page 1 of 1 (2 items) | RSS
Copyright (c) 2011 Bruker Instruments