Microscopy Image Browser 2.91
MIB
Loading...
Searching...
No Matches
mibRandomDatasetController Class Reference

a controller class for chopping the dataset into several smaller ones More...

Inheritance diagram for mibRandomDatasetController:
Collaboration diagram for mibRandomDatasetController:

Public Member Functions

 mibRandomDatasetController (mibModel)
 
function  closeWindow ()
 closing mibRandomDatasetController window
 
function  updateWidgets ()
 set default directory for the export
 
function  addDirBtn_Callback ()
 add directory to the list
 
function  removeDirBtn_Callback ()
 remove directory from the list
 
function  selectDirBtn_Callback ()
 callback for obj.View.handles.selectDirBtn select directory for the export
 
function  dirEdit_Callback ()
 callback for obj.View.handles.dirEdit select directory for the export
 
function  randomBtn_Callback ()
 chop the dataset
 

Public Attributes

 mibModel
 handles to the model
 
 View
 handle to the view
 
 listener
 a cell array with handles to listeners
 
 inputDirs = "[]"
 a cell array with list of directories for the input
 
 outputDir = "[]"
 output directory for export
 
EVENT closeEvent
 > Description of events event firing when window is closed
 
- Public Attributes inherited from handle
 addlistener
 Creates a listener for the specified event and assigns a callback function to execute when the event occurs.
 
 notify
 Broadcast a notice that a specific event is occurring on a specified handle object or array of handle objects.
 
 delete
 Handle object destructor method that is called when the object's lifecycle ends.
 
 disp
 Handle object disp method which is called by the display method. See the MATLAB disp function.
 
 display
 Handle object display method called when MATLAB software interprets an expression returning a handle object that is not terminated by a semicolon. See the MATLAB display function.
 
 findobj
 Finds objects matching the specified conditions from the input array of handle objects.
 
 findprop
 Returns a meta.property objects associated with the specified property name.
 
 fields
 Returns a cell array of string containing the names of public properties.
 
 fieldnames
 Returns a cell array of string containing the names of public properties. See the MATLAB fieldnames function.
 
 isvalid
 Returns a logical array in which elements are true if the corresponding elements in the input array are valid handles. This method is Sealed so you cannot override it in a handle subclass.
 
 eq
 Relational functions example. See details for more information.
 
 transpose
 Transposes the elements of the handle object array.
 
 permute
 Rearranges the dimensions of the handle object array. See the MATLAB permute function.
 
 reshape
 hanges the dimensions of the handle object array to the specified dimensions. See the MATLAB reshape function.
 
 sort
 ort the handle objects in any array in ascending or descending order.
 

Detailed Description

a controller class for chopping the dataset into several smaller ones

Constructor & Destructor Documentation

◆ mibRandomDatasetController()

mibRandomDatasetController.mibRandomDatasetController ( mibModel)

References mibModel.

Member Function Documentation

◆ addDirBtn_Callback()

function mibRandomDatasetController.addDirBtn_Callback ( )

add directory to the list

References uigetfile_n_dir().

Here is the call graph for this function:

◆ closeWindow()

function mibRandomDatasetController.closeWindow ( )

closing mibRandomDatasetController window

References handle.isvalid, and handle.notify.

◆ dirEdit_Callback()

function mibRandomDatasetController.dirEdit_Callback ( )

callback for obj.View.handles.dirEdit select directory for the export

◆ randomBtn_Callback()

function mibRandomDatasetController.randomBtn_Callback ( )

chop the dataset

References handle.disp, mibModel, handle.sort, and xlswrite2().

Here is the call graph for this function:

◆ removeDirBtn_Callback()

function mibRandomDatasetController.removeDirBtn_Callback ( )

remove directory from the list

◆ selectDirBtn_Callback()

function mibRandomDatasetController.selectDirBtn_Callback ( )

callback for obj.View.handles.selectDirBtn select directory for the export

◆ updateWidgets()

function mibRandomDatasetController.updateWidgets ( )

set default directory for the export

Member Data Documentation

◆ closeEvent

EVENT mibRandomDatasetController.closeEvent

> Description of events event firing when window is closed

Events
closeEvent

◆ inputDirs

mibRandomDatasetController.inputDirs = "[]"

a cell array with list of directories for the input


Default: "[]"

◆ listener

mibRandomDatasetController.listener

a cell array with handles to listeners

◆ mibModel

mibRandomDatasetController.mibModel

handles to the model

Referenced by mibRandomDatasetController(), and randomBtn_Callback().

◆ outputDir

mibRandomDatasetController.outputDir = "[]"

output directory for export


Default: "[]"

◆ View

mibRandomDatasetController.View

handle to the view


The documentation for this class was generated from the following file: