Statistica
RANK
8.112
of 295.569
REPUTAZIONE
5
CONTRIBUTI
11 Domande
2 Risposte
ACCETTAZIONE DELLE RISPOSTE
27.27%
VOTI RICEVUTI
4
CONTRIBUTI
0 Post
CONTRIBUTI
0 Pubblico Canali
VALUTAZIONE MEDIA
CONTRIBUTI
0 Punti principali
NUMERO MEDIO DI LIKE
Feeds
Domanda
Generate code from referenced model without generating from the parent
When working with large systems made of many referenced models I can either generate code from the top-level model (parent), whi...
oltre 5 anni fa | 1 risposta | 0
1
rispostaDomanda
How to write local code using a TLC custom storage class
I'm trying to create a class that yields the following behavior: Declare a local struct and fill its fields with data. Pass th...
quasi 6 anni fa | 0 risposte | 0
0
risposteDomanda
Change Simulink function exported prototype
Hi, I'm trying to generate a set of public functions that will serve as interface to my module once I generate C code from it...
oltre 6 anni fa | 0 risposte | 0
0
risposteRisolto
Zero Cross
Write a function that counts the number of times n a signal x crosses zero or changes sign. Examples x = [1 2 -3 -4 5 6 ...
oltre 6 anni fa
Domanda
csvread: Trouble reading 'Numeric' field from file
Hi, I'm trying to read the attached csv file, but both csvread is having trouble to parse through line 8010 of the second col...
quasi 7 anni fa | 1 risposta | 0
1
rispostaDomanda
Problem passing index to GetSet function
When I define a Simulink.Signal with dimension >1 and set it's storage class to GetSet it will generate a C function call like t...
oltre 7 anni fa | 0 risposte | 0
0
risposteDomanda
How to implement descending LUT breakpoint arrays
Is there any Simulink/MATLAB construct that does interpolation using a breakpoint array that is not strictly ascending? I nee...
quasi 8 anni fa | 0 risposte | 0
0
risposteDomanda
Error: Simulink does not support the execution of function-call cycles
I'm trying to execute this very simple sender/receiver logic with two charts and function calls. The issue is that Simulink dete...
quasi 8 anni fa | 1 risposta | 0
1
rispostaMATLAB System block error: The input to coder.const cannot be reduced to a constant
Solved the problem defining the property NumInputs as nontunable.
circa 8 anni fa | 1
| accettato
Domanda
MATLAB System block error: The input to coder.const cannot be reduced to a constant
I'm trying to build a system block with a dynamic number of inputs. I'm able to choose the number of inputs through a dialog and...
circa 8 anni fa | 1 risposta | 1
1
rispostaDomanda
Strange results with xcorr
Hi, I'm running the following script to calculate the cross-correlation between two signals: s1 = sig.signals.values(:,...
circa 8 anni fa | 3 risposte | 1
3
risposteDomanda
Nested Bus as S-Function input
Hi, I'm trying to compile some legacy code as a s-function, and I'd like to pass a struct as input. I created a bus that rep...
circa 8 anni fa | 0 risposte | 1
0
risposteIs there a hidden workspace in Simulink other than the model workspace?
I found out what was wrong: Simulink won't clear S-functions static memory from run to run. I'm using clear mex for that. Thanks...
oltre 8 anni fa | 0
| accettato
Domanda
Is there a hidden workspace in Simulink other than the model workspace?
When running a Simulink model, I get unexpected behaviors if I don't call a clear all before the execution. Strange thing is tha...
oltre 8 anni fa | 2 risposte | 0