A résolu


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

presque 11 ans il y a

Réponse apportée
Issue with building reference models with xPC target
Just building model |B| is a different build format from building |A| (which in turn builds B). In the first case, you are buil...

presque 11 ans il y a | 0

Réponse apportée
xPC target in Matlab R2013a does not show "Host PC Root" when the command xpcexplr is run
At the MATLAB command prompt, run the command: xpcsetCC -setup Similar to mex -setup, this will give you a list of insta...

presque 11 ans il y a | 0

| A accepté

Réponse apportée
Viewer scope time axis setting in Simulink external mode
The scope time axis is under the scope properties (the properties icon in the actual scope window). You can specify the duratio...

presque 11 ans il y a | 0

Réponse apportée
Is the xPC Target C API redistributable?
You only need an xPC Target Embedded Option for yourself, to be able to distribute the standalone application plus the compiled ...

environ 11 ans il y a | 0

Réponse apportée
xpctarget execution time runs faster than real-time with parallel port interrupt
Hello, It looks like you are using a plug in parallel port board; the original driver was written for the parallel port that ...

environ 11 ans il y a | 0

| A accepté

Réponse apportée
How can I programmatically start/stop data logging or enable/disable File Scope block.
There are two possible solutions: # You can set the File scope to be signal triggered, and only activate the trigger signal w...

plus de 11 ans il y a | 0

Réponse apportée
how to specify fpga pin in hdl workflow advisor?
What are you trying to connect the FPGA pins to? In general, you should not be setting the FPGA pins, but rather the I/O pins o...

environ 12 ans il y a | 0

Réponse apportée
xpc target: ERROR:no accesssible disk found:file system disable
This is not an error; it says that it did not find a compatible hard disk (which you don't necessarily need). For the loaded ...

plus de 12 ans il y a | 0

| A accepté

A résolu


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

plus de 12 ans il y a

A résolu


Remove the vowels
Remove all the vowels in the given phrase. Example: Input s1 = 'Jack and Jill went up the hill' Output s2 is 'Jck nd Jll wn...

plus de 12 ans il y a

A résolu


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

plus de 12 ans il y a

A résolu


Find the numeric mean of the prime numbers in a matrix.
There will always be at least one prime in the matrix. Example: Input in = [ 8 3 5 9 ] Output out is 4...

plus de 12 ans il y a

A résolu


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

plus de 12 ans il y a

A résolu


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

plus de 12 ans il y a

A résolu


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

plus de 12 ans il y a

A résolu


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

plus de 12 ans il y a

A résolu


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

plus de 12 ans il y a

Réponse apportée
xpc realtime udp receive
<http://www.mathworks.com/support/bugreports/search_results?search_executed=1&keyword=783622&release_filter=Exists+in&release=19...

plus de 12 ans il y a | 0

Réponse apportée
Real - time parameter tuning using xPC Target and C - MEX S - Function.
They should automatically be tunable. The only thing is that the parameter names will show up as "P1", "P2", etc.

plus de 12 ans il y a | 0

Réponse apportée
How to Trigger based on a incoming data value?
Please take a look at the white paper "xPC Target Serial Communication" available here <http://www.mathworks.com/tagteam/68353_...

plus de 12 ans il y a | 0

| A accepté

Réponse apportée
1.#IO error on xPC
I believe you are getting this error where it shows the average TeT or the execution time. This essentially means that the model...

plus de 12 ans il y a | 0

| A accepté

Réponse apportée
xPC Target : problem with multiple NIC card
Gigabit Ethernet is not supported for Real Time UDP or Raw Ethernet. If you are trying (and failing) to accomplish host-target c...

plus de 12 ans il y a | 0

Réponse apportée
xPC target toolbox
Though you have to use a single block, you can enter a vector of numbers in the "channels" parameter of the block mask that choo...

plus de 12 ans il y a | 0

| A accepté