Printmat still usable and if so, what am I doing wrong

조회 수: 3 (최근 30일)
Lennart
Lennart 2013년 10월 8일
답변: Jan 2013년 10월 8일
So Ive got this matrix, and would like it to be printed with labels and my colleagues use the function printmat. However I keep getting Undefined function 'printmat' for input arguments of type'cell' or 'double'. Also doc printmat shows no results. I use Matlab 2013a.
Is printmat still usable?
If so, what am I doing wrong?
A = magic(3);
name = 'magmat';
cnames = 'a b c';
rnames = '10 11 12';
printmat(A, name, rnames, cnames)
printmat({A, name, rnames, cnames})
doc printmat
Undefined function 'printmat' for input arguments of type 'double'.
Undefined function 'printmat' for input arguments of type 'cell'.
no results found

채택된 답변

Walter Roberson
Walter Roberson 2013년 10월 8일

추가 답변 (1개)

Jan
Jan 2013년 10월 8일
printmat is not a built-in Matlab function. So ask your colleagues for the source code of this function.

카테고리

Help CenterFile Exchange에서 Matrix Indexing에 대해 자세히 알아보기

제품

Community Treasure Hunt

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

Start Hunting!

Translated by