User Notes

  • In Matlab 6.0, arranging objects (clicking and dragging) can create a trail across the workspace. The simplest way to get rid of these trails is to minimize and restore the project workspace window.
  • When using the FRESNEL option for exit-pupil-to-target in the LENS Propagation Panel, the value of NFRESNEL must be greater than 2x NPupil.
    The value of NPupil is set in the SAMPLING panel in the LENS object.
  • When scanning across a target the scan window range should not exceed the target boundaries

Saving data in MOP’s:

Here is an example of how to save data in MOP’s:

If you want to save the value of the variable named ‘Ext’ to a file named spot.mat in the userdata directory insert this code into your script:
save

 

 

When you want to load that variable from the file and use it again, use this code:

load

 

 

Known Bug

When closing viewer windows the following error sometimes appears. This error is harmless and can be ignored.

??? Error using ==> set
Invalid object handle.

Error in ==> C:\MATLAB6p5\toolbox\matlab\graph3d\colorbar.m
On line 208 ==> set(gcf,’currentaxes’,GCA);
??? Error using ==> delete
Error while evaluating text DeleteFcn.

<< Back to OptiScan Help Desk