Big Chemical Encyclopedia

Chemical substances, components, reactions, process design ...

Articles Figures Tables About

MATLAB working with files

In the previous sections we have used MATLAB commands that were typed in on the desktop command line, as well as MATLAB commands that invoke special stored MATLAB files, called m files. When starting to work with MATLAB, we advise our users to create a special folder for their personal MATLAB m files once and to continue to use this folder to store personal m files. To access the stored m files from the MATLAB desktop, the user has to point the small desktop window called Current Directory to the personal m file folder. Then all stored m files, as well as all built in MATLAB functions can be accessed, called upon, and used from the command line. All stored personal... [Pg.43]

When working with MATLAB we advise our readers to first create a separate folder or directory on his/her hard drive that is used exclusively for MATLAB m files, such as one called matlabin, for example. [Pg.571]

In each thread the so called CUDA kernel is executed. This special function is written in a file with the .cu extension, syntax is similar to the C-H- language. There is a possibihty to work with these files directly from the MATLAB environment. But first it is needed to create a .ptx file (Parallel Thread Execution) using external compiler (NVIDIA CUDA Compiler). From these two files the kernel object can be created in MATLAB. [Pg.2450]

These files store the workspace or variables created during a session. All matrices, vectors and scalars with unique names are saved. Many chemometricians exchange data in this format. The command save places all this information into a file called matlab.mat in the current working directory. Alternatively, you can use the Save Workspace item on die File menu. Normally you wish to save the information as a named file, in which case you enter the filename after the save command. The following code saves the results of a session as a file called mydata in the directory c results, the first line being dependent on the current working directory and requires you to have created this first ... [Pg.458]

It is simple to model this equation using a spreadsheet (such as EXCEL), or programs such as MATLAB, or graphics calculators. However, it must be borne in mind that the logarithmic model does not work at very low currents, especially at zero. It is best to start the plots with a current of l.OmAcm. As an example, we have given below the MATLAB script file that was used to produce the graph in Figure 3.1. [Pg.60]


See other pages where MATLAB working with files is mentioned: [Pg.410]    [Pg.410]    [Pg.74]    [Pg.436]    [Pg.222]    [Pg.45]    [Pg.445]    [Pg.74]    [Pg.97]    [Pg.74]    [Pg.160]    [Pg.15]    [Pg.246]   
See also in sourсe #XX -- [ Pg.446 ]




SEARCH



MATLAB

Working with

© 2024 chempedia.info