matlab - How do I display the code of a function when using publish? -
function [ distancec_s ] = xsol (xrange,source1ou2,nbzeros) y = zeros(1,nbzeros); capteur = [xrange(:),y(:)]; distancec_s = calcul_distance(capteur,source1ou2); end
how display code in main.m? teacher said write
"<include >name_fonction.m</include >"
, nothing works.
things have tried:
xsol.m xsol <include>xsol.m</include> "<include>xsol.m</include>"
when publish main.m on pdf, want code of xsol.m displayed after code executes.
Comments
Post a Comment