Community Profile

photo

James Brown


Aktiv seit 2014

Statistiken

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

Abzeichen anzeigen

Content Feed

Anzeigen nach

Frage


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

fast 6 Jahre vor | 1 Antwort | 0

1

Antwort

Frage


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

fast 6 Jahre vor | 1 Antwort | 0

1

Antwort

Frage


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

mehr als 6 Jahre vor | 1 Antwort | 0

1

Antwort

Frage


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

mehr als 6 Jahre vor | 1 Antwort | 0

1

Antwort

Frage


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?

mehr als 6 Jahre vor | 0 Antworten | 0

0

Antworten

Frage


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

etwa 7 Jahre vor | 1 Antwort | 0

1

Antwort

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

etwa 7 Jahre vor | 0

| akzeptiert

Frage


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

etwa 7 Jahre vor | 0 Antworten | 0

0

Antworten

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

mehr als 7 Jahre vor | 1

Frage


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

fast 9 Jahre vor | 0 Antworten | 1

0

Antworten

Gelöst


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

etwa 9 Jahre vor

Gelöst


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

etwa 9 Jahre vor

Gelöst


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

etwa 9 Jahre vor

Gelöst


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

etwa 9 Jahre vor

Gelöst


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

etwa 9 Jahre vor

Gelöst


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

etwa 9 Jahre vor

Gelöst


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

etwa 9 Jahre vor

Gelöst


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

etwa 9 Jahre vor

Gelöst


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

etwa 9 Jahre vor

Gelöst


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

etwa 9 Jahre vor

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

etwa 9 Jahre vor | 0

Frage


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

mehr als 9 Jahre vor | 1 Antwort | 0

1

Antwort

Frage


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

mehr als 9 Jahre vor | 0 Antworten | 0

0

Antworten

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

mehr als 9 Jahre vor | 0