photo

Nathan Crosty

MathWorks

Active since 2013

Followers: 0   Following: 0

Message

Statistics

All
  • First Review
  • First Answer
  • Promoter
  • Solver

View badges

Feeds

View by

Question


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...

nästan 10 år ago | 0 answers | 0

0

answers

Question


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...

mer än 10 år ago | 0 answers | 0

0

answers

Answered
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...

ungefär 11 år ago | 6

Question


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...

mer än 11 år ago | 1 answer | 0

1

answer

Answered
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 ...

mer än 11 år ago | 0

Answered
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...

mer än 11 år ago | 1

Answered
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 ...

mer än 11 år ago | 0

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

mer än 11 år ago | 0

Answered
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...

mer än 11 år ago | 0

Answered
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...

mer än 11 år ago | 1

Answered
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...

mer än 11 år ago | 0

Question


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....

mer än 11 år ago | 1 answer | 0

1

answer

Question


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...

mer än 11 år ago | 0 answers | 0

0

answers

Answered
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...

mer än 11 år ago | 0

| accepted

Question


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...

mer än 11 år ago | 1 answer | 0

1

answer