I could not load files from directory to my workplace or command window. what is the reason?

load Jvalue.m
Error using load Number of columns on line 8 of ASCII file C:\Program Files\MATLAB\R2012a\bin\Jvalue.m must be the same as previous lines.

Answers (1)

Usually, a file of the form "filename.m" is source code. The load() command function is for loading data files, which are usually of the form "filename.mat".
Did you mean
edit Jvalue.m
to look at your code?

2 Comments

Yes,I wanna to load source code Jvalue.m and other data (element.dat) both command shows the same error message.

Sign in to comment.

Categories

Asked:

on 10 Jun 2014

Commented:

on 10 Jun 2014

Community Treasure Hunt

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

Start Hunting!