Added: 1 year ago
From: jakeblanchard
Views: 4,456
Sort by time | Sort by thread (beta)

Link to this comment:

Share to:

All Comments (9)

Sign In or Sign Up now to post a comment!
  • ahh man! its much easier to do such things in excel...... matlab sucks!!!!

  • awesome!

  • i got the information from this video but how to save this graph

  • @bangash669

    I suppose you could just do a screen grab, but that isn't very elegant. I've never tried to do this, so it would take some searching. You might try something like this (from the Matlab Central site): F=getframe(handles.axes1); %select axes in GUI figure(); %new figure image(F.cdata); %show selected axes in new figure saveas(gcf, 'path', 'fig'); %save figure close(gcf); %and close it

  • @jakeblanchard

    One more time, without the wrapping F=getframe(handles.axes1); %select axes in GUI figure(); %new figure image(F.cdata); %show selected axes in new figure saveas(gcf, 'path', 'fig'); %save figure close(gcf); %and close it

  • @jakeblanchard

    I despise YouTube's commenting tools!

  • thanks a lot man

  • hi, jake i want to tank u for your wonderful tutorial. make more plz. i have one problem following your tutorial it did not do the command

    set(handles.output,'string',do­uble2str(sin(alpha*pi)));

    here i named tag textoutput as output and all are the same

    here is the error

    ??? Error using ==> set

    There is no 'string' property in the 'figure' class.

    Error in ==> demogui>buttonplot_Callback at 102

    set(handles.output,'string',nu­m2str(sin(alpha*pi)));

    Error in ==> gui_mainfcn at 96 feval..

  • @lokeshjainajay

    I've posted the files I created in producing this video to my web site. You can find it at

    blanchard "dot" ep "dot" wisc "dot" edu

    Why don't you download them and see if they help to answer your question. If you can't find the files, email me directly and I will send them to you.

Loading...
Alert icon
0 / 00Unsaved Playlist Return to active list
    1. Your queue is empty. Add videos to your queue using this button:
      or sign in to load a different list.
    Loading...Loading...Saving...
    • Clear all videos from this list
    • Learn more