How to rename a network object from command prompt
Show older comments
I have a network object called 'net' that I want to rename to 'net1'.
So I've tried numerous variations on:
rename(net,'net','net1')
rename(net, 'net1')
etc
and I keep getting the error "Undefined function or method 'rename' for input arguments of type 'network'."
So if I'm not supposed to use 'rename' to change the name of a 'network' object, how do I accomplish my goal?
Answers (1)
Greg Heath
on 17 Jul 2012
0 votes
net1 = net;
1 Comment
Walter Roberson
on 17 Jul 2012
Followed by
clear net;
since it is a rename that is desired rather than a copy.
Categories
Find more on Get Started with Deep Learning Toolbox in Help Center and File Exchange
Products
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!