MATLAB MATLAB REPORT GENERATOR - RELEASE NOTES Uživatelská příručka Strana 47

  • Stažení
  • Přidat do mých příruček
  • Tisk
  • Strana
    / 986
  • Tabulka s obsahem
  • KNIHY
  • Hodnocené. / 5. Na základě hodnocení zákazníků
Zobrazit stránku 46
Add Report Content Using Components
2-17
4
With the Eval component still selected, do the following in the Properties pane on
the right:
a
Clear the Insert MATLAB expression in report and Display command
window output in report check boxes. You do not want to include the code or
its output in the report.
b
In the Expression to evaluate in the base workspace text box, replace the
existing text with the following MATLAB code.
Tip Copy and paste this text from the HTML documentation into the Report
Explorer.
%This loads a self-portrait of Albrecht
%Durer, a German artist. There is a
%magic square in the upper right corner
%of the image.
durerData=load('durer.mat','-mat');
figure('Units','Pixels',...
'Position',[200 200 size(durerData.X,2)*.5 size(durerData.X,1)*.5 ]);
image(durerData.X);
colormap(durerData.map);
axis('image');
set(gca,...
'Xtick',[],...
'Ytick',[],...
'Units','normal',...
'Position',[0 0 1 1]);
clear durerData
Zobrazit stránku 46
1 2 ... 42 43 44 45 46 47 48 49 50 51 52 ... 985 986

Komentáře k této Příručce

Žádné komentáře