I tried: % creates a function called 'measuredata' function measuredata(nameoffile) load(nameoffile) end. but if I type in the command window, and want to load e.g. measurement102.mat: >> measuredata('measurement102') I get no warning but nothing is being loaded to the workspace.
The ISNUMBER function is a quick, easy way to check if a cell contains a number. Our example used the IF function to illustrate how ISNUMBER can be used. If you haven't used IF in a formula before, you can read our lesson on the IF function here.
The IF function in Excel can be nested, when you have multiple conditions to meet. The FALSE value is being replaced by another If function to make a further test. For example, look at the formula below. 1a. If cell A1 equals 1, the function returns Bad. 1b. If cell A1 equals 2, the function returns Good.