Beantwortet
How to get sample time of the model through scrip?
get_param(gcs, 'FixedStep') This will only work for fixed step solvers. Note that the result returned is a string.

fast 11 Jahre vor | 0

| akzeptiert

Beantwortet
MEX in Matlab 8.1 , 64 bit & Windows 7, 64 bit
The errors you are getting are from the C++ compiler (i.e. they appear to be C++ errors and not mex errors); I would suggest loo...

fast 11 Jahre vor | 0

Beantwortet
Need help on xPC target with I/O card
You will not need to set anything up beyond plugging the board in.

fast 11 Jahre vor | 0

| akzeptiert

Beantwortet
Building a memory with m-file
You need to declare these variables as "persistent". You can check |isempty| of these variables for initialization. functi...

fast 11 Jahre vor | 0

| akzeptiert

Beantwortet
Code generation from level-2 s-function without tlc-file
In order to use this with code generation, *everything* you call must be in C (i.e. no M). The only exception would be if you we...

fast 11 Jahre vor | 0

| akzeptiert

Beantwortet
Code generation from level-2 s-function without tlc-file
You can either write a C S-function, or add a simple TLC file for your MATLAB S-function. The TLC file could be as simple as cal...

fast 11 Jahre vor | 0

Beantwortet
What are the timings for xPC Target I/O
For both the analog and digital signals, the actual reading/writing is done in the block; so this happens when the block execute...

fast 11 Jahre vor | 0

Beantwortet
xPC Target Explorer Error: Attempting to access the property or method of an invalid object
There may be an issue with your RS232 setup. Are you sure you are using a NULL Modem cable? Without this, you won't be able to c...

fast 11 Jahre vor | 0

| akzeptiert

Beantwortet
problem with real time udp in xPC target 5.5 when using the Intel-Gigabit ethernet adapter
I think both your host-target communication and real-time UDP are trying to use the same card. For diagnostics, I would try the ...

fast 11 Jahre vor | 0

Beantwortet
Basic question regarding xPC target setup
# The crossover cable is not the same as used to connect to the LAN; you need a differently wired cable. This can be purchased q...

fast 11 Jahre vor | 1

| akzeptiert

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

fast 11 Jahre vor | 0

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

fast 11 Jahre vor | 0

| akzeptiert

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

fast 11 Jahre vor | 0

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

etwa 11 Jahre vor | 0

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

etwa 11 Jahre vor | 0

| akzeptiert

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

mehr als 11 Jahre vor | 0

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

etwa 12 Jahre vor | 0

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

mehr als 12 Jahre vor | 0

| akzeptiert

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

mehr als 12 Jahre vor | 0

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

mehr als 12 Jahre vor | 0

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

mehr als 12 Jahre vor | 0

| akzeptiert

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

mehr als 12 Jahre vor | 0

| akzeptiert

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

mehr als 12 Jahre vor | 0

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

mehr als 12 Jahre vor | 0

| akzeptiert