Constant already used When creating function handle
Show older comments
I am trying to create a handle for a Function, I received two errors:
Error:
Expression or statement is incomplete or incorrect.
Error: "p1" was previously used as a variable, conflicting with its use here as the name of a function or command.
I am attempting to create a new function handle for an existing function created using the curve fit tool.
The syntax I use is
x = @fun;
will someone please correct this command?
Gav
Accepted Answer
More Answers (0)
Categories
Find more on Control Flow in Help Center and File Exchange
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!