Community Profile

photo

Nathan Crosty

MathWorks

Con actividad desde 2013

Estadísticas

All
  • First Review
  • First Answer
  • Promoter
  • Solver

Ver insignias

Content Feed

Ver por

Pregunta


How do I disable simulink embedded matlab function editor auto correct?
I am working on a Matlab function block in a Simulink model, and the auto-correct is re-naming some variables every time I go to...

alrededor de 9 años hace | 0 respuestas | 0

0

respuestas

Pregunta


How do I propogate a signal name from a Model Reference in 2011b?
I found some documentation that pertains to newer versions (2014a) for propagating signal names from inside of the model referen...

casi 10 años hace | 0 respuestas | 0

0

respuestas

Respondida
Real time plot from streaming data
Try this code snippet I have in my inventory as an example. t = 0 ; x = 0 ; startSpot = 0; interv = 1000 ; % con...

más de 10 años hace | 6

Pregunta


How do I create stub functions in simulink for legacy code?
I would like to use sfunctions to create function calls to a external c functions. I don't want to build the actual legacy code...

más de 10 años hace | 1 respuesta | 0

1

respuesta

Respondida
how to plot the data in a cell array
It sounds like you are looking for the cell2mat function. This will convert a cell array to numeric array which you can use to ...

más de 10 años hace | 0

Respondida
Variant control for variant subsystems with mask parameters?
In the Variant Subsystem > Subsystem Parameters, there is a check box for "Override variant conditions and use the following var...

más de 10 años hace | 1

Respondida
What can affect the performance of Matlab Compiler?
One option is to turn off compiler optimizations in Code Generation>Build Process>>Compiler optimization level This will ...

más de 10 años hace | 0

Respondida
nested if else statements
this = 222; that = 111; if this == 333 disp('this') elseif that == 444 disp('that') else this ...

más de 10 años hace | 0

Respondida
Receiving UDP data from Arduino
One thing I can tell you is that your endianness will be opposite between the Arduino and Matlab. Other than that, your paremet...

más de 10 años hace | 0

Respondida
how do i get the timestep of odesolver
The ODE solvers actually return time... You don't need to do anything extra. [T,Y] = solver(odefun,tspan,y0) Where T is th...

más de 10 años hace | 1

Respondida
Sending Different Sized Integers together over TCP/IP
You might look into "packing" your values of different types using a structure and sending that, then of course unpacking them o...

más de 10 años hace | 0

Pregunta


How do I modify the standard Arduino build process?
I am using the latest Arduino Simulink support package and am able to build my model and flash to my module using run on target....

casi 11 años hace | 1 respuesta | 0

1

respuesta

Pregunta


Arduino application undefined reference for normal functions
I am trying to build model files that were initially created using 2011b with 2012b. I set up the arduino package and everything...

casi 11 años hace | 0 respuestas | 0

0

respuestas

Respondida
Generating Mex Files For Arduino Drivers - MS Compiler Not Working
My question has been answered here http://www.mathworks.com/matlabcentral/fileexchange/39354-device-drivers. I needed to change...

casi 11 años hace | 0

| aceptada

Pregunta


Generating Mex Files For Arduino Drivers - MS Compiler Not Working
I am trying to use existing Arduino libraries with the S-Function Builder or Legacy Code Tool (same result). Particularly, I am...

casi 11 años hace | 1 respuesta | 0

1

respuesta