22.06.2015 Views

CIFER®-MATLAB Interfaces: Development and ... - Cal Poly

CIFER®-MATLAB Interfaces: Development and ... - Cal Poly

CIFER®-MATLAB Interfaces: Development and ... - Cal Poly

SHOW MORE
SHOW LESS

You also want an ePaper? Increase the reach of your titles

YUMPU automatically turns print PDFs into web optimized ePapers that Google loves.

comm<strong>and</strong>-line-based interface that runs calculations <strong>and</strong> returns results as the user steps through<br />

via prompting.<br />

The three main programs for this project, FRESPID, MISOSA, <strong>and</strong> COMPOSITE, when run in<br />

CIFER ® use the screen interface <strong>and</strong> have separate functions to store, retrieve, <strong>and</strong> compute<br />

information. The <strong>MATLAB</strong> interface uses these same functions, however, to provide CIFER ® the<br />

information without using the screen interface. The <strong>MATLAB</strong> structure that holds the case<br />

information is set up to collect the same information that the user would normally provide<br />

through the screens. All of this functionality was accomplished without modifying any original<br />

CIFER ® code, thus no provisions will be necessary in order to maintain that original code when<br />

the new interface is added to the full CIFER ® software package.<br />

Other utilities such as the RMS, plotting, <strong>and</strong> arithmetic calculations have the screen interface<br />

embedded within the functions that run the calculations. For the <strong>MATLAB</strong> interface to work, the<br />

original CIFER ® functions had to be altered to disable the screen interface. These alterations are<br />

well marked with comments as CIFER ® lead programmers will ultimately need to incorporate<br />

new methods within existing code to accommodate the changes <strong>and</strong> prevent the need to maintain<br />

two separate source files. The utilities that use the comm<strong>and</strong>-line interface (RMS, plotting, <strong>and</strong><br />

h<strong>and</strong>ling qualities) were dealt with much the same as the screen-based utilities due to the<br />

comm<strong>and</strong>-line prompts being embedded within the code for calculations.<br />

3.1.3 Complexity of Use<br />

A side effect of the comm<strong>and</strong>-line interface was that it required users to be reasonably familiar<br />

with CIFER ® . The interface is not as intuitive as a graphical interface because everything happens<br />

at once. There are no screens with helpful notes <strong>and</strong> error checking to step through. If a case has<br />

27

Hooray! Your file is uploaded and ready to be published.

Saved successfully!

Ooh no, something went wrong!