Добавил:
Upload Опубликованный материал нарушает ваши авторские права? Сообщите нам.
Вуз: Предмет: Файл:
1 Lab (Neuro).docx
Скачиваний:
1
Добавлен:
16.11.2019
Размер:
1.38 Mб
Скачать

External interfaces

MATLAB package includes a variety of interfaces for accessing external routines written in other programming languages​​, data, clients and servers that communicate with help technology Component Object Model or Dynamic Data Exchange and peripheral devices that interface directly with MATLAB. Many of these features is known as MATLAB APL.

COM

MATLAB package provides access to functions that enable you to create, manipulate, and delete the COM objects (such as clients and servers). Also supports technology of ActiveX. All COM objects belong to a special class of the COM package MATLAB. All programs that have functions of the controller can access MATLAB as an Automation server.

.NET

The package of MATLAB in Microsoft Windows gives access to the programmatic platform .NET Framework. There is possibility to load .NET of assembling(Assemblies) and to work with objects .NET of classes from the environment of MATLAB. In a version MATLAB 7.11(R2010b) is supported .NET Framework by a version 2.0, 3.0,3.5 and 4.0.

DDE

The package of MATLAB contains functions that allow to get access him to other appendixes of environment of Windows, exactly as well as to get access these applications to data of MATLAB, by means of technology of dynamic exchange by data(DDE). Every application, that can be DDE- the unique identification identifier has a server,. For MATLAB there is this name- Matlab.

COM- port

An interface for serial port of package of MATLAB provides direct access to peripheral units, such as modems, printers and scientific equipment, connected to the computer through serial port(COM- port). An interface works by creation of object of the special class for serial port. The present methods of this class allow to read and write down data in serial port, to use events and processers of events, and also to write down information on the disk of computer real-time. It is the experiments not walked around during realization, simulations of the real time and for other.

МЕХ- files The package of MATLAB includes the interface of co-operating with the external applications written on languages С and Fortran. This co-operation comes true through МЕХ-файлы. There is possibility of call of the programs written on With or Фортране from MATLAB, as though it is intrinsic functions of package. МЕХ-files are renaming dinamically. The correct setting of access paths is set by default, so that given an opportunities it is needed to use only in the special circumstances, for example at the casual transfer of folders elsewhere or at their renaming.

Sets the default correct installation paths, so that these possibilities should only be used in special circumstances, such as the accidental transfer of folders to another location or rename them.

Fig. 1.11. Editor file system paths

The menu "Edit" - tools for editing documents

"Edit" menu contains the editing operations and commands typical for most Windows applications:

  • Undo – canceling of result of previous operation;

  • Redo – canceling of last Undo operation;

  • Cut – cutting of dedicated fragment and transferring it to buffer;

  • Paste – inserting of fragment from buffer into current position of cursor;

  • Clear – operation of clearing of dedicated area;

  • Select All – dedication all of session;

  • Delete – determination of dedicated area;

  • Clear Command Windows – clearing of text of session (with saving of created objects);

  • Clear Command History - cleaning history window;

  • Clear Workspace - cleaning the work area of the browser window.

Fig. 1.13. Menu «Edit» .

Neural networks: a graphical user interface

Neural Networks (NN ) are widely used to solve various problems. Among the developing regions of NN - processing of analog and digital signals, the synthesis and identification of electronic circuits and systems. Basic theory and technology of NN are well represented in the package MATLAB. In this regard, special mention should be on version of the package - MATLAB 6.0, which was first presented GUI (Graphical User Interface ) for the NN - NNTool.

Examples of application of the technology of neural networks for digital signal processing are: filtering, parameter estimation, detection, identification of systems, pattern recognition, reconstruction of the signals, time series analysis and compression. These kinds of processing are applicable to various types of signals: audio, video, voice, images, message, geophysical, locating, medical measurements (cardiograms, entsefallogrammy, pulse), and others.

Signal processing in technologies of NN performed by NN without memory or NN with memory. And in both cases, the key element is the NN without memory. Such a role is defined by the fact that the use of neurons with specific functions of  activation (transfer characteristics) NN is the link libraries that can be downloaded and executed by interpretator built into MATLAB. MEX-procedures are also able to call built-in commands of MATLAB.

DLL

Interface of MATLAB, referring to the common DLL, allows you to call functions, which are placed in dynamic link libraries, directly from MATLAB. These functions must have a C-interface.

In addition, in MATLAB it is possible to get access to its built-in functions by the C-interface that lets you use the functions of a package in external applications written in C. This technology of MATLAB is called a C-Engine.