Steve on Image Processing with MATLAB

Image processing concepts, algorithms, and MATLAB

Note

Steve on Image Processing with MATLAB has been archived and will not be updated.

How to Run Blog Post Code in Your Browser

I have published more than 560 blog posts here since 2006, and I estimate that about 98% of them started out as MATLAB scripts.
Recently, I've started writing my blog posts as live scripts. Live scripts contain not only MATLAB code, but also code output, graphics output, and formatted text, including equations. It's a really nice way to share a technical story.
Now, thanks to my friends on the MATLAB Central development team, I can write a blog post as a live script -- and then you can run the code yourself in your web browser!
Let me show you how it works. Here is my blog post on using a custom interpolation kernel with imresize:
imresize-post-a.png
Now scroll all the down to the bottom of the post (above the comments):
imresize-post-b.png
Click on the "Run in your browser" button, and you'll get your own MATLAB Online session in your browser, with the contents of the live script preloaded for you. It will look something like this:
run-in-browser.png
Alternatively, you can click on the "Download Live Script" button to download the code to your own computer.
For access to MATLAB and Simulink in your web browser whenever you have internet access, just head over to MATLAB Online.
|
  • print

コメント

コメントを残すには、ここ をクリックして MathWorks アカウントにサインインするか新しい MathWorks アカウントを作成します。