Undefined function ‘Matlab’ for input arguments of type ‘char’!

When you are naming your Matlab file, make sure there is no space or hyphen in your file’s name.

Wrong: Matlab test file.m

Wrong: Matlab-test-file.m

Right: MatlabTestFile.m

Right: Matlab_Test_File.m

Advertisements