i received this error

Attempt to execute SCRIPT rank as a function:
C:\MATLAB\SupportPackages\R2016a\rank.m
Error in rank (line 2)
rank(A)

Answers (1)

madhan ravi
madhan ravi on 20 Apr 2019

0 votes

You have a file named rank.m which shadows the in-built function rank() , move it from the path or rename it to avoid this problem.

This question is closed.

Tags

Asked:

on 20 Apr 2019

Closed:

on 20 Aug 2021

Community Treasure Hunt

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

Start Hunting!