Wednesday, 4 April 2012

Setup C compiler in Matlab Environment

Running mbuild

  1. Run mbuild -setup from MATLAB.
     Select a compiler. Additional platform-specific information follows.

    Windows

    Executing mbuild -setup on Windows displays a message of this type:
    Welcome to mbuild -setup.  This utility will help you set up  
    a default compiler.  For a list of supported compilers, see  
    http://www.mathworks.com/support/compilers/R2012a/win64.html 
     
    Please choose your compiler for building shared libraries or COM components: 
     
    Would you like mbuild to locate installed compilers [y]/n? n
     
    Select a compiler: 
    [1] Microsoft Software Development Kit (SDK) 7.1 
    [2] Microsoft Visual C++ 2005 SP1 
    [3] Microsoft Visual C++ 2008 SP1 
    [4] Microsoft Visual C++ 2010 
     
    [0] None 
    The preconfigured options files included with MATLAB for Windows appear in the following table.
    Note   These options apply only to the 32-bit version of MATLAB.

MESSIDOR: Digital Retinal Images

The MESSIDOR database has been established to facilitate studies on computer-assisted diagnoses of diabetic retinopathy. The research community is invited to test its algorithms on this database. On this page, you will find instructions on how to download the database.

 http://messidor.crihan.fr

Java + Matlab Link

Courtesy: Neeraj
%%%%%%%%%%%% MATLAB %%%%%%%%%%%%%%%%%%




import javax.swing.*;
J = JFrame('Neeraj')
L = JLabel('A Label has been created by neeraj kumar for laltu kumar jha');
P = J.getContentPane
P.add(L)
J.setSize(500,500);
J.setVisible(1)

f = javax.swing.JFrame;
set(f,'ComponentResizedCallback', @(handle,evt) disp(evt.getSource.getSize));
f.setSize(200,200);
f.show;



%%%%%%%%%%%%%%%%%%%%%%%%%%%%
n=100;
x=linspace(-3,3,n);
y=linspace(-3,3,n);
z=linspace(-3,3,n);
[X,Y,Z]=ndgrid(x,y,z);
F=320 * ((-X.^2 .* Z.^3 -9.*Y.^2.*Z.^3/80) + (X.^2 + 9.* Y.^2/4 + Z.^2-1).^3);
isosurface(F,0)
view([-52 8]);
grid on
%%%%%%%%%%%%%%%%%%%
ReplyDelete
%%%%%%%%%%%% MATLAB %%%%%%%%%%%%%%%%%%




import javax.swing.*;
J = JFrame('Neeraj')
L = JLabel('A Label has been created by neeraj kumar for laltu kumar jha');
P = J.getContentPane
P.add(L)
J.setSize(500,500);
J.setVisible(1)

f = javax.swing.JFrame;
set(f,'ComponentResizedCallback', @(handle,evt) disp(evt.getSource.getSize));
f.setSize(200,200);
f.show;



%%%%%%%%%%%%%%%%%%%%%%%%%%%%
n=100;
x=linspace(-3,3,n);
y=linspace(-3,3,n);
z=linspace(-3,3,n);
[X,Y,Z]=ndgrid(x,y,z);
F=320 * ((-X.^2 .* Z.^3 -9.*Y.^2.*Z.^3/80) + (X.^2 + 9.* Y.^2/4 + Z.^2-1).^3);
isosurface(F,0)
view([-52 8]);
grid on
%%%%%%%%%%%%%%%%%%%