File Exchange

image thumbnail

calculator(varargin​)

version 1.0.0.0 (6.1 KB) by Muhammad Tanhaye
GUI calculator

0 Downloads

Updated 24 Jan 2015

View License

it is GUI application a calculator basic

Cite As

Muhammad Tanhaye (2020). calculator(varargin) (https://www.mathworks.com/matlabcentral/fileexchange/49146-calculator-varargin), MATLAB Central File Exchange. Retrieved .

Comments and Ratings (1)

Stephen Cobeldick

This submission consists of a function imaginatively named "untitled" which looks like an attempt to create a graphical UI, but the author ignored the 35+ mlint warnings and the function crashes immediately when it is run:

??? Error using ==> load
Unable to read file temp.fig: No such file or directory.

Who knows what "temp.fig" is, because in fact there is no help section to tell you. Nor comments. No H1 line. No examples to compare my own attempt with.

There also doesn't seem to be anything in the code that one could describe as being much like a "calculator", like it claims to be. And without any help or comments it is impossible to know what the author intended this code to do, or how it is supposed to behave even slightly like a calculator.

Advice to the author: Learn to use mlint. Write comments in your code. Write a help section, with examples. Test your code before you submit it to MATLAB File Exchange, and make sure that it actually works.

MATLAB Release Compatibility
Created with R2009a
Compatible with any release
Platform Compatibility
Windows macOS Linux
Tags Add Tags
gui

Community Treasure Hunt

Find the treasures in MATLAB Central and discover how the community can help you!

Start Hunting!