Cell contents assignment to a non-cell array object.
显示 更早的评论
Please find attached the program that contents all the parameters for the error programs
so this is the error that i get
Cell contents assignment to a non-cell array object.
Error in create_grid (line 60)
nw{'xl'} = ncdouble('one');
% Create variables and attributes
%
nw{'xl'} = ncdouble('one');
nw{'xl'}.long_name = ncchar('domain length in the XI-direction');
nw{'xl'}.long_name = 'domain length in the XI-direction';
nw{'xl'}.units = ncchar('meter');
nw{'xl'}.units = 'meter';
Error in make_grid (line 76)
create_grid(L,M,grdname,ROMS_title)
% Create the grid file
%
disp(' ')
disp(' Create the grid file...')
[M,L]=size(Latp);
disp([' LLm = ',num2str(L-1)])
disp([' MMm = ',num2str(M-1)])
create_grid(L,M,grdname,ROMS_title)
%
1 个评论
Walter Roberson
2016-4-28
You did not include the code for make_grid or create_grid
romstools appears to refer to ROMS AGRIF Project . That project requires signing up to download the code.
采纳的回答
更多回答(0 个)
类别
在 帮助中心 和 File Exchange 中查找有关 MATLAB Report Generator 的更多信息
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!