Skip to content
Snippets Groups Projects
Select Git revision
  • bffd379db5d498fd9b4232b0b3e20b5b3d8833d8
  • master default protected
  • gitkeep
  • development protected
  • QRCode/Size
  • sync-link-hdf5
  • feature/multi-scriptpaths
  • dev/plotID_Class
  • doc
  • V1.0.1
  • V1.0
  • V1.0-RC1
  • V0.2.2
  • V0.2.1
  • V0.2-RC1
  • V0.1
16 results

plotID_options.m

Blame
  • Code owners
    Assign users and groups as approvers for specific file changes. Learn more.
    plotID_options.m 1.00 KiB
    function [options] = plotID_options(input)
    %PLOTID_OPTIONS gives you a struct with all the options defined in publish
    %   Two modes are implemented default and debug
    
    options = struct();
    switch input
        case 'default' %same as Arguments Block       
            options.Location  = 'local'; % storage path
            options.Method  = 'individual';
            options.ParentFolder  = 'export';
            options.ConfigFileName = 'config.json';%individual config names possible
            options.CopyUserFCN = true;
            options.CSV = false;
            options.ShowMessages = true;
            options.ForcePublish  = false; %publish anyway
        case 'debug'
            options.Location  = 'local'; % storage path
            options.Method  = 'individual';
            options.ParentFolder  = 'export';
            options.ConfigFileName = 'config.json';%individual config names possible
            options.CopyUserFCN = true;
            options.CSV = true;
            options.ShowMessages = true;
            options.ForcePublish  = true; %publish anyway        
    end
    
    end