Community Profile

photo

James Brown


24 total contributions since 2014

Contact

James Brown's Badges

  • Thankful Level 1
  • Revival Level 1
  • Knowledgeable Level 1
  • First Answer
  • Solver

View details...

Contributions in
View by

Question


Move target data to new version of slrt after an upgrade
After upgrading to a new version of Matlab/Simulink/SLRT, I'd like to port all my realtime targets into the new slrtexplr. Is th...

1 year ago | 1 answer | 0

1

answer

Question


Target order in slrtexplr
How can I change the order in which realtime targets are displayed in slrtexplr? I'm happy to edit a file if I knew where slrtex...

1 year ago | 1 answer | 0

1

answer

Question


Can't reboot my Simulink Realtime target.
Why can't I reboot my SLRT target via a Matlab command? I've also noticed that I cannot close the connection. Am I missing somet...

1 year ago | 1 answer | 0

1

answer

Question


Can I boot SLRT standalone via CD?
Is it possible to create a standalone SLRT app using a target with no hard drive and no flash media? I'd like to boot from CD wi...

2 years ago | 1 answer | 0

1

answer

Question


How can I profile an SLRT application on a target with no hard drive?
I need to profile my code in SLRT, but my target computer has no file system. Is this possible?

2 years ago | 0 answers | 0

0

answers

Question


External Interrup Source for SLRT
I'd like to use a board for the interrupt source to synchronize my model with other real-time systems. I'm a bit confused as to ...

2 years ago | 1 answer | 0

1

answer

Answered
How do I store a value in Simulink (sample hold)?
I do this all the time with an enabled subsystem. Simply connect the input port to the output port inside the enabled subsystem....

2 years ago | 0

| accepted

Question


Must the SLRT Network Boot Server be on the development machine?
I wish to network boot my SLRT machine via the network boot option. However, due to several circumstances, I cannot use my devel...

2 years ago | 0 answers | 0

0

answers

Answered
Data transfer from target machine to host computer
You can always develop a C/C++ app using the SLRT API. Check out, for example, the function xPCFSReadFile in the API.

2 years ago | 1

Question


rtwbuild with Diagnostic Viewer
I'd like to use the command line rtwbuild, but with all output going to the Diagnostic Viewer, similar to the behavior when the ...

4 years ago | 0 answers | 1

0

answers

Solved


Find all elements less than 0 or greater than 10 and replace them with NaN
Given an input vector x, find all elements of x less than 0 or greater than 10 and replace them with NaN. Example: Input ...

4 years ago

Solved


Triangle Numbers
Triangle numbers are the sums of successive integers. So 6 is a triangle number because 6 = 1 + 2 + 3 which can be displa...

4 years ago

Solved


Column Removal
Remove the nth column from input matrix A and return the resulting matrix in output B. So if A = [1 2 3; 4 5 6]; and ...

4 years ago

Solved


Is my wife right?
Regardless of input, output the string 'yes'.

4 years ago

Solved


Determine if input is odd
Given the input n, return true if n is odd or false if n is even.

4 years ago

Solved


Add two numbers
Given a and b, return the sum a+b in c.

4 years ago

Solved


Select every other element of a vector
Write a function which returns every other element of the vector passed in. That is, it returns the all odd-numbered elements, s...

4 years ago

Solved


Find the sum of all the numbers of the input vector
Find the sum of all the numbers of the input vector x. Examples: Input x = [1 2 3 5] Output y is 11 Input x ...

4 years ago

Solved


Times 2 - START HERE
Try out this test problem first. Given the variable x as your input, multiply it by two and put the result in y. Examples:...

4 years ago

Solved


Make the vector [1 2 3 4 5 6 7 8 9 10]
In MATLAB, you create a vector by enclosing the elements in square brackets like so: x = [1 2 3 4] Commas are optional, s...

4 years ago

Answered
Remotely view xPC Target screen?
Look at 'xpctargetspy'. This command will create a figure window with a shot of the target's screen. A right-click in the window...

4 years ago | 0

Question


Complete build in SLRT
How can I force a complete (not incremental) build in SLRT? For example, if I edit an include file, referenced by my C sfunction...

5 years ago | 1 answer | 0

1

answer

Question


How do I install a Support Package on a machine with no internet access?
I need to install a Support Package on a machine with no internet access. I have seen solutions involving running the Support Pa...

5 years ago | 0 answers | 0

0

answers

Answered
xPC Target in Freerun mode: extra long sample time
Check your target machine's BIOS to ensure that legacy USB is turned off. Legacy USB will occasionally grab close to a msec of t...

5 years ago | 0