The **MATLAB Central Newsreader** is now a read-only archive, and will be fully retired soon.

Please visit **MATLAB Answers**
for questions and answers relating to MATLAB and Simulink. You will still be able to access
the *comp.soft-sys.matlab*
Usenet group using many
other newsreader programs.

IC2 = [0 0 0];

[T2 Y2] = ode15s(@feaode, Tspan2, IC2, options);

function ydot = feaode(t, y)

% feaode: nested function for solving the dynamic snapper

% system

%

% y = [ xA;

% vA;

% I ]

J = y(3,1) ./ conductorArea;

% interpolate position and velocity from input

xTtemp = interp1(times,xT,t);

vTtemp = interp1(times,vT,t);

% relative position necessary to determine forces and flux linkage

xR = xTtemp - y(1,1);

remxRVTaup = rem((xR/Taup),1);

% now check if pole number is even or odd

if round(rem((xR/Taup)-remxRVTaup, 2)) == 0

polysign = -1;

else

polysign = 1;

end

% We will get the numerical derivative of the flux linkage from the

% polynomial using numerical differentiation

psidot = polysign * psidotfun(abs(rem(xR,Taup)./Taup), -abs(J), p_psi);

% determine the forces due to the magnets and electrical forces at

% the relative position xR with the current values of J

Ffea = polysign * polyvaln(p_FEAFy, [abs(rem(xR,Taup)./Taup), -abs(J)]);

% determine the spring forces on the armature at position xA

Fs = Fs_Snapper(y(1,1), ks);

% determine the emf in the coils

EMF = -(y(2,1) - vTtemp) .* psidot;

% find the derivative of the coil current

Idot = (EMF - y(3,1).*R) ./ L;

ydot(1,1) = y(2);

ydot(2,1) = (Ffea + Fs) ./ massA;

ydot(3,1) = Idot;

end

This works fine, but I would like to extract the values in the variable EMF in the above function at each time step for examination alongside the values in the 'y' vector. How exactly would I need to reformulate this to do that? I have floundered about with mass matrices (which I don't really know anything about, but saw in another post here as the solution) and tried the following:

% Added another initial condition, now solving for four variables

IC2 = [0 0 0 0];

% Added mass matrix to options

options = odeset('Mass', [1 0 0 0; 0 1 0 0; 0 0 1 0; 0 0 0 0], ...

'MStateDependence','none', ...

'MassSingular', 'yes');

[T2 Y2] = ode15s(@feaode, Tspan2, IC2, options);

function ydot = feaode(t, y)

% feaode: nested function for solving the dynamic snapper

% system

%

% y = [ xA;

% vA;

% I;

% EMF ]

J = y(3,1) ./ conductorArea;

% interpolate position and velocity from input

xTtemp = interp1(times,xT,t);

vTtemp = interp1(times,vT,t);

% relative position necessary to determine forces and flux linkage

xR = xTtemp - y(1,1);

remxRVTaup = rem((xR/Taup),1);

% now check if pole number is even or odd

if round(rem((xR/Taup)-remxRVTaup, 2)) == 0

polysign = -1;

else

polysign = 1;

end

% We will get the numerical derivative of the flux linkage from the

% polynomial using numerical differentiation

psidot = polysign * psidotfun(abs(rem(xR,Taup)./Taup), -abs(J), p_psi);

% determine the forces due to the magnets and electrical forces at

% the relative position xR with the current values of J

Ffea = polysign * polyvaln(p_FEAFy, [abs(rem(xR,Taup)./Taup), -abs(J)]);

% determine the spring forces on the armature at position xA

Fs = Fs_Snapper(y(1,1), ks);

% determine the emf in the coils

EMF = -(y(2,1) - vTtemp) .* psidot;

% find the derivative of the coil current

Idot = (EMF - y(3,1).*R) ./ L;

ydot(1,1) = y(2);

ydot(2,1) = (Ffea + Fs) ./ massA;

ydot(3,1) = Idot;

% *********** Additional Code *************

ydot(4,1) = y(4,1) - EMF

end

I did this based on what I saw here:

http://www.mathworks.nl/matlabcentral/newsreader/view_thread/246590

Running the new code however returns the following error:

"Warning: Failure at t=1.905843e-002. Unable to meet integration tolerances without reducing the step size below the smallest value allowed (5.551115e-017) at time t."

Can anyone tell me what I need to do? How in general must the problem be formulated to return any number of internally calculated variables?

Thanks!

> have created an ode solver compatible function in

> order to solve these equations, this is a nested

> function in order to access several variables and is

> shown below:

>

> IC2 = [0 0 0];

>

> [T2 Y2] = ode15s(@feaode, Tspan2, IC2, options);

>

> function ydot = feaode(t, y)

> % feaode: nested function for solving the dynamic

> amic snapper

> % system

> %

> % y = [ xA;

> % vA;

> % I ]

>

> J = y(3,1) ./ conductorArea;

>

> % interpolate position and velocity from input

> xTtemp = interp1(times,xT,t);

> vTtemp = interp1(times,vT,t);

>

> % relative position necessary to determine

> ermine forces and flux linkage

> xR = xTtemp - y(1,1);

>

> remxRVTaup = rem((xR/Taup),1);

>

> % now check if pole number is even or odd

> if round(rem((xR/Taup)-remxRVTaup, 2)) == 0

> polysign = -1;

> else

> polysign = 1;

> end

>

> % We will get the numerical derivative of the

> of the flux linkage from the

> % polynomial using numerical differentiation

> psidot = polysign *

> sign * psidotfun(abs(rem(xR,Taup)./Taup), -abs(J),

> p_psi);

>

> % determine the forces due to the magnets and

> ts and electrical forces at

> % the relative position xR with the current

> urrent values of J

> Ffea = polysign * polyvaln(p_FEAFy,

> FEAFy, [abs(rem(xR,Taup)./Taup), -abs(J)]);

>

> % determine the spring forces on the armature

> mature at position xA

> Fs = Fs_Snapper(y(1,1), ks);

>

> % determine the emf in the coils

> EMF = -(y(2,1) - vTtemp) .* psidot;

>

> % find the derivative of the coil current

> Idot = (EMF - y(3,1).*R) ./ L;

>

> ydot(1,1) = y(2);

> ydot(2,1) = (Ffea + Fs) ./ massA;

> ydot(3,1) = Idot;

>

> end

>

> This works fine, but I would like to extract the

> values in the variable EMF in the above function at

> each time step for examination alongside the values

> in the 'y' vector. How exactly would I need to

> reformulate this to do that? I have floundered about

> with mass matrices (which I don't really know

> anything about, but saw in another post here as the

> solution) and tried the following:

>

> % Added another initial condition, now solving for

> four variables

> IC2 = [0 0 0 0];

>

> % Added mass matrix to options

> options = odeset('Mass', [1 0 0 0; 0 1 0 0; 0 0 1 0;

> 0 0 0 0], ...

> 'MStateDependence','none',

> MStateDependence','none', ...

> 'MassSingular', 'yes');

>

> [T2 Y2] = ode15s(@feaode, Tspan2, IC2, options);

>

> function ydot = feaode(t, y)

> % feaode: nested function for solving the dynamic

> amic snapper

> % system

> %

> % y = [ xA;

> % vA;

> % I;

> % EMF ]

>

> J = y(3,1) ./ conductorArea;

>

> % interpolate position and velocity from input

> xTtemp = interp1(times,xT,t);

> vTtemp = interp1(times,vT,t);

>

> % relative position necessary to determine

> ermine forces and flux linkage

> xR = xTtemp - y(1,1);

>

> remxRVTaup = rem((xR/Taup),1);

>

> % now check if pole number is even or odd

> if round(rem((xR/Taup)-remxRVTaup, 2)) == 0

> polysign = -1;

> else

> polysign = 1;

> end

>

> % We will get the numerical derivative of the

> of the flux linkage from the

> % polynomial using numerical differentiation

> psidot = polysign *

> sign * psidotfun(abs(rem(xR,Taup)./Taup), -abs(J),

> p_psi);

>

> % determine the forces due to the magnets and

> ts and electrical forces at

> % the relative position xR with the current

> urrent values of J

> Ffea = polysign * polyvaln(p_FEAFy,

> FEAFy, [abs(rem(xR,Taup)./Taup), -abs(J)]);

>

> % determine the spring forces on the armature

> mature at position xA

> Fs = Fs_Snapper(y(1,1), ks);

>

> % determine the emf in the coils

> EMF = -(y(2,1) - vTtemp) .* psidot;

>

> % find the derivative of the coil current

> Idot = (EMF - y(3,1).*R) ./ L;

>

> ydot(1,1) = y(2);

> ydot(2,1) = (Ffea + Fs) ./ massA;

> ydot(3,1) = Idot;

>

> % *********** Additional Code *************

> ydot(4,1) = y(4,1) - EMF

>

> end

>

> I did this based on what I saw here:

>

> http://www.mathworks.nl/matlabcentral/newsreader/view_

> thread/246590

>

> Running the new code however returns the following

> error:

>

> "Warning: Failure at t=1.905843e-002. Unable to meet

> integration tolerances without reducing the step size

> below the smallest value allowed (5.551115e-017) at

> time t."

>

> Can anyone tell me what I need to do? How in general

> must the problem be formulated to return any number

> of internally calculated variables?

>

> Thanks!

Is EMF = 0 at t=0 ?

Otherwise you should try to start with consistent

initial conditions, i.e. y(4,1)|t=0 = EMF|t=0.

Another source for the difficulties encountered

could be that y(4,1) is not continuously

differentiable because of the numerical derivative

you take for psidot.

A method that always works to get the EMF-values at the

output times is to calculate EMF from the y-vector

_after_ MATLAB has returned from ODE15s (in the same

manner as you do in your function ydot = feaode(t, y)).

Best wishes

Torsten.

> > I have a set of differential equations to solve. I

> > have created an ode solver compatible function in

> > order to solve these equations, this is a nested

> > function in order to access several variables and is

> > shown below:

> >

> > IC2 = [0 0 0];

> >

> > [T2 Y2] = ode15s(@feaode, Tspan2, IC2, options);

> >

> > function ydot = feaode(t, y)

> > % feaode: nested function for solving the dynamic

> > amic snapper

> > % system

> > %

> > % y = [ xA;

> > % vA;

> > % I ]

> >

> > J = y(3,1) ./ conductorArea;

> >

> > % interpolate position and velocity from input

> > xTtemp = interp1(times,xT,t);

> > vTtemp = interp1(times,vT,t);

> >

> > % relative position necessary to determine

> > ermine forces and flux linkage

> > xR = xTtemp - y(1,1);

> >

> > remxRVTaup = rem((xR/Taup),1);

> >

> > % now check if pole number is even or odd

> > if round(rem((xR/Taup)-remxRVTaup, 2)) == 0

> > polysign = -1;

> > else

> > polysign = 1;

> > end

> >

> > % We will get the numerical derivative of the

> > of the flux linkage from the

> > % polynomial using numerical differentiation

> > psidot = polysign *

> > sign * psidotfun(abs(rem(xR,Taup)./Taup), -abs(J),

> > p_psi);

> >

> > % determine the forces due to the magnets and

> > ts and electrical forces at

> > % the relative position xR with the current

> > urrent values of J

> > Ffea = polysign * polyvaln(p_FEAFy,

> > FEAFy, [abs(rem(xR,Taup)./Taup), -abs(J)]);

> >

> > % determine the spring forces on the armature

> > mature at position xA

> > Fs = Fs_Snapper(y(1,1), ks);

> >

> > % determine the emf in the coils

> > EMF = -(y(2,1) - vTtemp) .* psidot;

> >

> > % find the derivative of the coil current

> > Idot = (EMF - y(3,1).*R) ./ L;

> >

> > ydot(1,1) = y(2);

> > ydot(2,1) = (Ffea + Fs) ./ massA;

> > ydot(3,1) = Idot;

> >

> > end

> >

> > This works fine, but I would like to extract the

> > values in the variable EMF in the above function at

> > each time step for examination alongside the values

> > in the 'y' vector. How exactly would I need to

> > reformulate this to do that? I have floundered about

> > with mass matrices (which I don't really know

> > anything about, but saw in another post here as the

> > solution) and tried the following:

> >

> > % Added another initial condition, now solving for

> > four variables

> > IC2 = [0 0 0 0];

> >

> > % Added mass matrix to options

> > options = odeset('Mass', [1 0 0 0; 0 1 0 0; 0 0 1 0;

> > 0 0 0 0], ...

> > 'MStateDependence','none',

> > MStateDependence','none', ...

> > 'MassSingular', 'yes');

> >

> > [T2 Y2] = ode15s(@feaode, Tspan2, IC2, options);

> >

> > function ydot = feaode(t, y)

> > % feaode: nested function for solving the dynamic

> > amic snapper

> > % system

> > %

> > % y = [ xA;

> > % vA;

> > % I;

> > % EMF ]

> >

> > J = y(3,1) ./ conductorArea;

> >

> > % interpolate position and velocity from input

> > xTtemp = interp1(times,xT,t);

> > vTtemp = interp1(times,vT,t);

> >

> > % relative position necessary to determine

> > ermine forces and flux linkage

> > xR = xTtemp - y(1,1);

> >

> > remxRVTaup = rem((xR/Taup),1);

> >

> > % now check if pole number is even or odd

> > if round(rem((xR/Taup)-remxRVTaup, 2)) == 0

> > polysign = -1;

> > else

> > polysign = 1;

> > end

> >

> > % We will get the numerical derivative of the

> > of the flux linkage from the

> > % polynomial using numerical differentiation

> > psidot = polysign *

> > sign * psidotfun(abs(rem(xR,Taup)./Taup), -abs(J),

> > p_psi);

> >

> > % determine the forces due to the magnets and

> > ts and electrical forces at

> > % the relative position xR with the current

> > urrent values of J

> > Ffea = polysign * polyvaln(p_FEAFy,

> > FEAFy, [abs(rem(xR,Taup)./Taup), -abs(J)]);

> >

> > % determine the spring forces on the armature

> > mature at position xA

> > Fs = Fs_Snapper(y(1,1), ks);

> >

> > % determine the emf in the coils

> > EMF = -(y(2,1) - vTtemp) .* psidot;

> >

> > % find the derivative of the coil current

> > Idot = (EMF - y(3,1).*R) ./ L;

> >

> > ydot(1,1) = y(2);

> > ydot(2,1) = (Ffea + Fs) ./ massA;

> > ydot(3,1) = Idot;

> >

> > % *********** Additional Code *************

> > ydot(4,1) = y(4,1) - EMF

> >

> > end

> >

> > I did this based on what I saw here:

> >

> > http://www.mathworks.nl/matlabcentral/newsreader/view_

> > thread/246590

> >

> > Running the new code however returns the following

> > error:

> >

> > "Warning: Failure at t=1.905843e-002. Unable to meet

> > integration tolerances without reducing the step size

> > below the smallest value allowed (5.551115e-017) at

> > time t."

> >

> > Can anyone tell me what I need to do? How in general

> > must the problem be formulated to return any number

> > of internally calculated variables?

> >

> > Thanks!

>

> Is EMF = 0 at t=0 ?

> Otherwise you should try to start with consistent

> initial conditions, i.e. y(4,1)|t=0 = EMF|t=0.

>

> Another source for the difficulties encountered

> could be that y(4,1) is not continuously

> differentiable because of the numerical derivative

> you take for psidot.

>

> A method that always works to get the EMF-values at the

> output times is to calculate EMF from the y-vector

> _after_ MATLAB has returned from ODE15s (in the same

> manner as you do in your function ydot = feaode(t, y)).

>

> Best wishes

> Torsten.

Thank you Torsten, I have tried entering a more accurate calculated initial value for

y(4,1) without much success (I did it in debug mode, so I didn't have the code handy to show), so perhaps the problem is caused by the derivative of psidot not being sufficiently smooth or continuous.

I will do as you suggest and calculate the EMF values afterwards but I mainly wanted these values to check the system was behaving as I expected. I wanted to check off the EMF values against the y(3,1) values to ensure they made physical sense. I'm not sure working backwards will do this as well.

Thanks you for your help though, at least I know I am setting up the mass matrix correctly and that the problem lies elsewhere.

> in message

> <1599729044.54502.1263282254826.JavaMail.root@gallium.

> mathforum.org>...

> > > I have a set of differential equations to solve.

> I

> > > have created an ode solver compatible function in

> > > order to solve these equations, this is a nested

> > > function in order to access several variables and

> is

> > > shown below:

> > >

> > > IC2 = [0 0 0];

> > >

> > > [T2 Y2] = ode15s(@feaode, Tspan2, IC2, options);

> > >

> > > function ydot = feaode(t, y)

> > > % feaode: nested function for solving the dynamic

> > > amic snapper

> > > % system

> > > %

> > > % y = [ xA;

> > > % vA;

> > > % I ]

> > >

> > > J = y(3,1) ./ conductorArea;

> > >

> > > % interpolate position and velocity from

> input

> > > xTtemp = interp1(times,xT,t);

> > > vTtemp = interp1(times,vT,t);

> > >

> > > % relative position necessary to determine

> > > ermine forces and flux linkage

> > > xR = xTtemp - y(1,1);

> > >

> > > remxRVTaup = rem((xR/Taup),1);

> > >

> > > % now check if pole number is even or odd

> > > if round(rem((xR/Taup)-remxRVTaup, 2)) == 0

> > > polysign = -1;

> > > else

> > > polysign = 1;

> > > end

> > >

> > > % We will get the numerical derivative of the

> > > of the flux linkage from the

> > > % polynomial using numerical

> differentiation

> > > psidot = polysign *

> > > sign * psidotfun(abs(rem(xR,Taup)./Taup),

> -abs(J),

> > > p_psi);

> > >

> > > % determine the forces due to the magnets and

> > > ts and electrical forces at

> > > % the relative position xR with the current

> > > urrent values of J

> > > Ffea = polysign * polyvaln(p_FEAFy,

> > > FEAFy, [abs(rem(xR,Taup)./Taup), -abs(J)]);

> > >

> > > % determine the spring forces on the armature

> > > mature at position xA

> > > Fs = Fs_Snapper(y(1,1), ks);

> > >

> > > % determine the emf in the coils

> > > EMF = -(y(2,1) - vTtemp) .* psidot;

> > >

> > > % find the derivative of the coil current

> > > Idot = (EMF - y(3,1).*R) ./ L;

> > >

> > > ydot(1,1) = y(2);

> > > ydot(2,1) = (Ffea + Fs) ./ massA;

> > > ydot(3,1) = Idot;

> > >

> > > end

> > >

> > > This works fine, but I would like to extract the

> > > values in the variable EMF in the above function

> at

> > > each time step for examination alongside the

> values

> > > in the 'y' vector. How exactly would I need to

> > > reformulate this to do that? I have floundered

> about

> > > with mass matrices (which I don't really know

> > > anything about, but saw in another post here as

> the

> > > solution) and tried the following:

> > >

> > > % Added another initial condition, now solving

> for

> > > four variables

> > > IC2 = [0 0 0 0];

> > >

> > > % Added mass matrix to options

> > > options = odeset('Mass', [1 0 0 0; 0 1 0 0; 0 0 1

> 0;

> > > 0 0 0 0], ...

> > > 'MStateDependence','none',

> > > MStateDependence','none', ...

> > > 'MassSingular', 'yes');

> > >

> > > [T2 Y2] = ode15s(@feaode, Tspan2, IC2, options);

> > >

> > > function ydot = feaode(t, y)

> > > % feaode: nested function for solving the dynamic

> > > amic snapper

> > > % system

> > > %

> > > % y = [ xA;

> > > % vA;

> > > % I;

> > > % EMF ]

> > >

> > > J = y(3,1) ./ conductorArea;

> > >

> > > % interpolate position and velocity from

> input

> > > xTtemp = interp1(times,xT,t);

> > > vTtemp = interp1(times,vT,t);

> > >

> > > % relative position necessary to determine

> > > ermine forces and flux linkage

> > > xR = xTtemp - y(1,1);

> > >

> > > remxRVTaup = rem((xR/Taup),1);

> > >

> > > % now check if pole number is even or odd

> > > if round(rem((xR/Taup)-remxRVTaup, 2)) == 0

> > > polysign = -1;

> > > else

> > > polysign = 1;

> > > end

> > >

> > > % We will get the numerical derivative of the

> > > of the flux linkage from the

> > > % polynomial using numerical

> differentiation

> > > psidot = polysign *

> > > sign * psidotfun(abs(rem(xR,Taup)./Taup),

> -abs(J),

> > > p_psi);

> > >

> > > % determine the forces due to the magnets and

> > > ts and electrical forces at

> > > % the relative position xR with the current

> > > urrent values of J

> > > Ffea = polysign * polyvaln(p_FEAFy,

> > > FEAFy, [abs(rem(xR,Taup)./Taup), -abs(J)]);

> > >

> > > % determine the spring forces on the armature

> > > mature at position xA

> > > Fs = Fs_Snapper(y(1,1), ks);

> > >

> > > % determine the emf in the coils

> > > EMF = -(y(2,1) - vTtemp) .* psidot;

> > >

> > > % find the derivative of the coil current

> > > Idot = (EMF - y(3,1).*R) ./ L;

> > >

> > > ydot(1,1) = y(2);

> > > ydot(2,1) = (Ffea + Fs) ./ massA;

> > > ydot(3,1) = Idot;

> > >

> > > % *********** Additional Code

> *************

> > > ydot(4,1) = y(4,1) - EMF

> > >

> > > end

> > >

> > > I did this based on what I saw here:

> > >

> > >

> http://www.mathworks.nl/matlabcentral/newsreader/view_

> > > thread/246590

> > >

> > > Running the new code however returns the

> following

> > > error:

> > >

> > > "Warning: Failure at t=1.905843e-002. Unable to

> meet

> > > integration tolerances without reducing the step

> size

> > > below the smallest value allowed (5.551115e-017)

> at

> > > time t."

> > >

> > > Can anyone tell me what I need to do? How in

> general

> > > must the problem be formulated to return any

> number

> > > of internally calculated variables?

> > >

> > > Thanks!

> >

> > Is EMF = 0 at t=0 ?

> > Otherwise you should try to start with consistent

> > initial conditions, i.e. y(4,1)|t=0 = EMF|t=0.

> >

> > Another source for the difficulties encountered

> > could be that y(4,1) is not continuously

> > differentiable because of the numerical derivative

> > you take for psidot.

> >

> > A method that always works to get the EMF-values at

> the

> > output times is to calculate EMF from the y-vector

> > _after_ MATLAB has returned from ODE15s (in the

> same

> > manner as you do in your function ydot = feaode(t,

> y)).

> >

> > Best wishes

> > Torsten.

>

> Thank you Torsten, I have tried entering a more

> accurate calculated initial value for

> y(4,1) without much success (I did it in debug mode,

> so I didn't have the code handy to show), so perhaps

> the problem is caused by the derivative of psidot not

> being sufficiently smooth or continuous.

>

> I will do as you suggest and calculate the EMF values

> afterwards but I mainly wanted these values to check

> the system was behaving as I expected. I wanted to

> check off the EMF values against the y(3,1) values to

> ensure they made physical sense. I'm not sure working

> backwards will do this as well.

>

At t=tend, you have the solutions y(1,1), y(2,1) and

y(3,1) in Y2 for all times of T2.

If you then calculate EMF for all times in T2

with the corresponding solution values in Y2,

you get the same information as if you had used

EMF as a 4th solution variable.

> Thanks you for your help though, at least I know I am

> setting up the mass matrix correctly and that the

> problem lies elsewhere.

Best wishes

Torsten.

> At t=tend, you have the solutions y(1,1), y(2,1) and

> y(3,1) in Y2 for all times of T2.

> If you then calculate EMF for all times in T2

> with the corresponding solution values in Y2,

> you get the same information as if you had used

> EMF as a 4th solution variable.

>

Ahh, I see now what you mean, I wasn't getting it before, you mean call feaode again, or some similar function, at each returned time step to get the EMF values, not do a new ode solution to get the emf values from my solution.

Thanks again!

You can think of your watch list as threads that you have bookmarked.

You can add tags, authors, threads, and even search results to your watch list. This way you can easily keep track of topics that you're interested in. To view your watch list, click on the "My Newsreader" link.

To add items to your watch list, click the "add to watch list" link at the bottom of any page.

To add search criteria to your watch list, search for the desired term in the search box. Click on the "Add this search to my watch list" link on the search results page.

You can also add a tag to your watch list by searching for the tag with the directive "tag:tag_name" where tag_name is the name of the tag you would like to watch.

To add an author to your watch list, go to the author's profile page and click on the "Add this author to my watch list" link at the top of the page. You can also add an author to your watch list by going to a thread that the author has posted to and clicking on the "Add this author to my watch list" link. You will be notified whenever the author makes a post.

To add a thread to your watch list, go to the thread page and click the "Add this thread to my watch list" link at the top of the page.

A tag is like a keyword or category label associated with each thread. Tags make it easier for you to find threads of interest.

Anyone can tag a thread. Tags are public and visible to everyone.

Got questions?

Get answers.

MATLAB and Simulink resources for Arduino, LEGO, and Raspberry Pi test

Learn moreDiscover what MATLAB ^{®} can do for your career.

Opportunities for recent engineering grads.

Apply TodayThe newsgroups are a worldwide forum that is open to everyone. Newsgroups are used to discuss a huge range of topics, make announcements, and trade files.

Discussions are threaded, or grouped in a way that allows you to read a posted message and all of its replies in chronological order. This makes it easy to follow the thread of the conversation, and to see what’s already been said before you post your own reply or make a new posting.

Newsgroup content is distributed by servers hosted by various organizations on the Internet. Messages are exchanged and managed using open-standard protocols. No single entity “owns” the newsgroups.

There are thousands of newsgroups, each addressing a single topic or area of interest. The MATLAB Central Newsreader posts and displays messages in the comp.soft-sys.matlab newsgroup.

**MATLAB Central**

You can use the integrated newsreader at the MATLAB Central website to read and post messages in this newsgroup. MATLAB Central is hosted by MathWorks.

Messages posted through the MATLAB Central Newsreader are seen by everyone using the newsgroups, regardless of how they access the newsgroups. There are several advantages to using MATLAB Central.

**One Account**

Your MATLAB Central account is tied to your MathWorks Account for easy access.

**Use the Email Address of Your Choice**

The MATLAB Central Newsreader allows you to define an alternative email address as your posting address, avoiding clutter in your primary mailbox and reducing spam.

**Spam Control**

Most newsgroup spam is filtered out by the MATLAB Central Newsreader.

**Tagging**

Messages can be tagged with a relevant label by any signed-in user. Tags can be used as keywords to find particular files of interest, or as a way to categorize your bookmarked postings. You may choose to allow others to view your tags, and you can view or search others’ tags as well as those of the community at large. Tagging provides a way to see both the big trends and the smaller, more obscure ideas and applications.

**Watch lists**

Setting up watch lists allows you to be notified of updates made to postings selected by author, thread, or any search variable. Your watch list notifications can be sent by email (daily digest or immediate), displayed in My Newsreader, or sent via RSS feed.

- Use a newsreader through your school, employer, or internet service provider
- Pay for newsgroup access from a commercial provider
- Use Google Groups
- Mathforum.org provides a newsreader with access to the comp.soft sys.matlab newsgroup
- Run your own server. For typical instructions, see: http://www.slyck.com/ng.php?page=2

You can also select a location from the following list:

- Canada (English)
- United States (English)

- Belgium (English)
- Denmark (English)
- Deutschland (Deutsch)
- España (Español)
- Finland (English)
- France (Français)
- Ireland (English)
- Italia (Italiano)
- Luxembourg (English)

- Netherlands (English)
- Norway (English)
- Österreich (Deutsch)
- Portugal (English)
- Sweden (English)
- Switzerland
- United Kingdom (English)