Hi:
I use RNT tools to make files for rooms. When I use the starup.m file to add the path, there are some errors:
Undefined function or variable "fcn".
Error in mexcdf (line 122)
feval(fcn, varargin{:});
Error in ncquiet (line 14)
mexcdf('setopts', 0)
Error in startup (line 57)
ncquiet
My matlab version is 8.1.0.604 (R2013a). How can I solve the problem. Which version is usefull.
Thanks a lot.
Problem of "Undefined function or variable "fcn"." in RNT
Re: Problem of "Undefined function or variable "fcn"." in RN
Check point 9 in the MexCDF FAQ:
http://mexcdf.sourceforge.net/faq.php9. Why do I get Undefined function 'fcn' when trying to use ncmex?
You are trying to use the NetCDF Toolbox, which I do not support. See the previous three items.
Re: Problem of "Undefined function or variable "fcn"." in RN
Thanks for your reply, but I can't open the http://mexcdf.sourceforge.net/faq.php.
Can you post the content to me?
Can you post the content to me?
Re: Problem of "Undefined function or variable "fcn"." in RN
Sorry for the delay. Here is the relevant part of the FAQ:
6. What about the NetCDF Toolbox?
I did not write it and have not supported it since 2007. I continually get asked about it, so if you really need it badly, you can get a version here on the condition that you never ever ask me about it again.
7.Where is NCLOAD?
It's part of the NetCDF Toolbox, which I do not support. See the item above.
8.Why to I get Undefined function 'netcdf'
For example...
>> nc = netcdf('ocean_his.nc')
Undefined function 'netcdf' for input arguments of type 'char'.
You are trying to use the NetCDF Toolbox, which I do not support. See the previous two items.
9.Why do I get Undefined function 'fcn' when trying to use ncmex?
You are trying to use the NetCDF Toolbox, which I do not support. See the previous three items.
Re: Problem of "Undefined function or variable "fcn"." in RN
Thanks for your reply.
The NetCDF Toolbox have not been surported. But how can I to use it in matlab2013a.
The NetCDF Toolbox have not been surported. But how can I to use it in matlab2013a.
Re: Problem of "Undefined function or variable "fcn"." in RN
Instructions and answers to all your questions related to the nctoolbox are here:
http://nctoolbox.github.io/nctoolbox
http://nctoolbox.github.io/nctoolbox
Re: Problem of "Undefined function or variable "fcn"." in RN
Thanks for your reply. I Copy the 'mexcdf folder' from Roms_Agrif/Roms_tools_v3.1.1 to 'RNT/matlib'. It works.
Re: Problem of "Undefined function or variable "fcn"." in RNT
Hi @limaolin, I did the same thing and it does not work for me. I downloaded the files from https://www.croco-ocean.org/download/utilities/
Is that the same you did?
I am using matlab 2019b.
Please let me know if you have any suggestion.
Is that the same you did?
I am using matlab 2019b.
Please let me know if you have any suggestion.