Community Profile

photo

James Brown


Active since 2014

Statistics

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

View badges

Content Feed

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

bijna 6 jaar 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...

bijna 6 jaar 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...

meer dan 6 jaar 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...

meer dan 6 jaar 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?

meer dan 6 jaar 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 ...

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

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

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

meer dan 7 jaar 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 ...

bijna 9 jaar 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 ...

ongeveer 9 jaar 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...

ongeveer 9 jaar 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 ...

ongeveer 9 jaar ago

Solved


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

ongeveer 9 jaar ago

Solved


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

ongeveer 9 jaar ago

Solved


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

ongeveer 9 jaar 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...

ongeveer 9 jaar 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 ...

ongeveer 9 jaar 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:...

ongeveer 9 jaar 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...

ongeveer 9 jaar 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...

ongeveer 9 jaar 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...

meer dan 9 jaar 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...

meer dan 9 jaar 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...

meer dan 9 jaar ago | 0