Réponse apportée
FFT: why signal frequency depends on sampling rate?
I guess your question is about the X axis of the frequency plot varying with different values of FsFactor. This is because you a...

presque 12 ans il y a | 1

Réponse apportée
Build procedure error; CGIR assertion failed. What does it mean?
CGIR assertions indicate an issue/bug with the code generation engine used. If this is NOT a custom block and if the issue is re...

presque 12 ans il y a | 1

Réponse apportée
ni daqcard 700 PCMCIA with matlab
The following website gives you all the information: <https://www.mathworks.com/products/daq/supported/ni-daqmx.html#PCMCIA>

presque 12 ans il y a | 0

Réponse apportée
how to aquire xPC data in a triggered manner
1 "have one file per trigger event": For this I am not able to think of a way apart from having several File Scope blocks each o...

presque 12 ans il y a | 0

| A accepté

Réponse apportée
Blocks for xPC - Using an NI PCIe 6321
PCIe-6321 is not supported. But this is because the card belongs to NI's X series of data acquisition boards. There are several ...

presque 12 ans il y a | 0

Réponse apportée
fft of a continuous signal
Fast Fourier transform (FFT) is an algorithm to calculate the discrete Fourier transform (DFT). Now the DFT is defined only for...

presque 12 ans il y a | 0

Réponse apportée
serial number is too long for activation.
Please contact MathWorks technical support.

presque 12 ans il y a | 0

Réponse apportée
Unsolved EPROBEFAIL in xPC
This is most likely because your new card is high up on bus 32 (Quite sure your earlier one was not). Refer to point 4 in this l...

presque 12 ans il y a | 0

Réponse apportée
C code---> sfunction --> Xpc Target with legacy_code
1. To generate a TLC file for the model shown at the end of that example, enter the following command: legacy_code('sfc...

environ 12 ans il y a | 0

| A accepté

Réponse apportée
i hav created a standalone GUI that shows height,weight and BMI,i just want to generate a report in pdf to be printed,give me suggestions.
Use the PRINT function in the button callback. Here is an example for print: <http://www.mathworks.com/help/matlab/ref/print....

environ 12 ans il y a | 0

Réponse apportée
Error in Overiding Data in compiled MAT file in Standalone Application
The init callback is part of MATLAB execution and does not get included during code generation. You may be able to achieve what ...

environ 12 ans il y a | 0

Réponse apportée
C code to S function tutorials
There are several examples in Simulink documentation for the legacy code tool. Look under "Custom Blocks with S-functions, Syst...

environ 12 ans il y a | 0

| A accepté

Réponse apportée
Error in Publishing Code
See what the following at the MATLAB prompt returns: tempdir This should be the C:\Users\Harshal\Appdata\Local\Temp N...

environ 12 ans il y a | 0

Réponse apportée
Low pass Filter - designing one
<http://www.mathworks.com/help/dsp/examples/designing-low-pass-fir-filters.html>

environ 12 ans il y a | 0

Réponse apportée
Best data structure to use?
<http://www.mathworks.com/help/matlab/matlab_prog/create-a-structure-array.html>

environ 12 ans il y a | 0

Réponse apportée
Generate Random Sample of 0's and 1's
MATLAB has a function RANDSRC (part of the Comm Sys Tbx) which does this. out = randsrc(1,N,[0 1; (1-p) p]) See document...

environ 12 ans il y a | 1

| A accepté

Réponse apportée
Find the voltage from a PWM signal
The following example shows how to calculate duty cycle (requires Signal Processing toolbox): <http://www.mathworks.com/help/...

environ 12 ans il y a | 0

| A accepté

Réponse apportée
Compile with Visual C++
You seem to want to use MS VC++ 2008 with MATLAB Compiler 4.0. I do see this as a supported compiler. See link: <http://www.math...

environ 12 ans il y a | 0

Réponse apportée
Program generates random number. User has to guess it from 3 times.
1. When the person guess the correct number, in the ELSE part you do not do anything about the variable 'i'. Due to this the ans...

environ 12 ans il y a | 0

Réponse apportée
How do I deploy Applications from Simulink
You are looking for this: <http://www.mathworks.com/matlabcentral/answers/97161>

environ 12 ans il y a | 0

Réponse apportée
Terminology 101: XPC , Real-Time, ERT, SIL, PIL, External Mode
*Can anyone explain, what would it be called if Simulink is running on a PC exchanging data with a simple external RS232 device/...

environ 12 ans il y a | 1

| A accepté

Réponse apportée
Problem With Voice Recognition
The first error is on: ‘Get ready to record your name’ This is a line of text in the provided code which is not MATLAB syn...

environ 12 ans il y a | 0

Réponse apportée
Problem Choosing SDK Compiler
SDK 7.1 does not appear in the list as it does not seem to be a supported compiler. Check the following link: <http://www.mat...

environ 12 ans il y a | 0

| A accepté

Réponse apportée
Echtzeit Simulation in Matlab Simulink mittels xPC Target
Google translate says: "like I want using Matlab Simulink verify a simulation to real-time. For this I have read on your website...

environ 12 ans il y a | 0

Réponse apportée
swapping elements in matlab?
M=randi(3,10); M can then be linear indexed by the set [1,30] since there are 30 elements. So you could get a RANDom PERMn...

environ 12 ans il y a | 0

| A accepté

Réponse apportée
Fixed-Step Discrete Timing
What you are trying to achieve is to have the simulation run in "real time". If you do not require hard (exact) real time constr...

environ 12 ans il y a | 2

Réponse apportée
xPC target does not show the correct display on the target computer
You seem to have booted up the target with "Graphics mode" unchecked. Refer to the first bullet point under 5 at the followi...

environ 12 ans il y a | 0

| A accepté

Réponse apportée
Simulink - Serial Receive - Header
Try HEX. For example 'FF' for 255

environ 12 ans il y a | 0

Réponse apportée
Predefined parameters in Simulink? like in demo 'fuelsys' for 'Pumping Constant.
The have to be defined in either the base MATLAB workspace or else the model workspace.

environ 12 ans il y a | 0

Réponse apportée
error on the function of ss[Creation of State-Space Models]
You might not have the Control System Toolbox installed. Check that by executing: ver

environ 12 ans il y a | 0

Charger plus