I found the solution of the problem.. the mpt toolbox has a linearize function, which was shadowing the original command of matlab. after uninstalling mpt toolbox, it is working fine.
thank you.
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!