Beantwortet
how to rectify make error,
Try running |mex -setup| at the MATLAB prompt and select a supported compiler. That error usually goes away after a MEX compiler...

mehr als 13 Jahre vor | 0

Beantwortet
How to run a periodic custom signal in simulink
You'll need to write your MATLAB Function so that it repeats the same operation periodically. How do you maintain the "state" of...

mehr als 13 Jahre vor | 0

Beantwortet
how can i configure modelsim in matlab?
According to the <http://www.mathworks.com/help/hdlverifier/release-notes.html R2012a Release Notes for HDL Coder>, the |configu...

mehr als 13 Jahre vor | 0

| akzeptiert

Beantwortet
Reading .wav audio file for Code Generation
It doesn't look like that block supports code-generation for embedded targets. It will run it in Rapid Accelerator mode though, ...

mehr als 13 Jahre vor | 0

| akzeptiert

Beantwortet
S-function input ports with different variable dimensions
The documentation <http://www.mathworks.com/help/simulink/sfg/sssetinputportwidth.html suggests> that you implement |mdlSetInput...

mehr als 13 Jahre vor | 0

| akzeptiert

Beantwortet
MATLAB Function Versus MATLAB S-Function (processing speed)
It could be that you have <http://www.mathworks.com/help/simulink/gui/simulation-target-pane-general.html Enable debugging/anima...

mehr als 13 Jahre vor | 0

Beantwortet
How to get the source directory from command window?
You can just run : which <modelname> To find the location of the model. Is this what you want?

mehr als 13 Jahre vor | 0

Beantwortet
simulink library browser crashes when trying to load a custom library
Is your custom library in a directory whose path contains a comma by any chance? Please see <http://www.mathworks.com/support/bu...

mehr als 13 Jahre vor | 0

Beantwortet
issues with sound file output Simulink
Is 'Sound File Output' from a custom library? It doesn't look like something that ships with Simulink. You might need to get the...

mehr als 13 Jahre vor | 0

Beantwortet
Divide by zero protection in generated Simulink code
Perhaps these two resources will help: * <http://www.mathworks.com/support/solutions/en/data/1-F5WMK3/index.html?product=ML&s...

mehr als 13 Jahre vor | 1

| akzeptiert

Beantwortet
Decoupling Matlab algorithm from a Simulink model
Perhaps you can use a <http://www.mathworks.com/help/simulink/slref/configurablesubsystem.html Configurable Subsystem> with seve...

mehr als 13 Jahre vor | 0

| akzeptiert

Beantwortet
pause and play simulink in programming
If you need to restart the simulation in step (5), then why pause in (4) at all? Why not simply stop the simulation when y reach...

mehr als 13 Jahre vor | 0

Beantwortet
What is S-function Wrapper?
It is simply an implementation of the <http://www.mathworks.com/help/simulink/sfg/example-of-a-basic-c-mex-s-function.html stand...

mehr als 13 Jahre vor | 0

Beantwortet
How to set a fixed execution period of an M-Function in simulink?
No, AFAIK, the only way to ensure a fixed-step time for your model is to pick a Fixed-Step Solver and specify the desired step-t...

mehr als 13 Jahre vor | 0

| akzeptiert

Beantwortet
Generating C codes from simulink for DSK 6713 processor
Perhaps this documentation will help you get started: <http://www.mathworks.com/help/ecoder/ug/targeting-c6000-dsp-hardware.html...

mehr als 13 Jahre vor | 0

| akzeptiert

Beantwortet
MATLAB Function Versus MATLAB S-Function (processing speed)
When you say "MATLAB Function" block, do you mean the <http://www.mathworks.com/help/simulink/slref/matlabfunction.html Embedded...

mehr als 13 Jahre vor | 0

| akzeptiert

Beantwortet
How do I get random numbers from a Simulink Coder executable?
It looks like the 'Seed' parameter is a non-tunable parameter, so I'm not sure how you would do this, other than manually modify...

mehr als 13 Jahre vor | 0

| akzeptiert

Beantwortet
how can i change the matrix block in Simulink?
Are you able to write M as a function of t? What happens to M when t>5? If you are able to write it as a function, implement it ...

mehr als 13 Jahre vor | 0

Beantwortet
Simplest procedure to accelerate Simulink with Windows7 64 bit R2009b-R2012a
Please look at the last column on <http://www.mathworks.com/support/sysreq/previous_releases.html this page> to find the list of...

mehr als 13 Jahre vor | 0

Beantwortet
Problem in specifying dependent library files by using MEX switches
You should just need to add them on to the "mex" command. Probably something like: >> mex myfile.c -L"C:\Program Files (x...

mehr als 13 Jahre vor | 0

Beantwortet
How to instantiate an array of simulink block ?
Try the <http://www.mathworks.com/help/simulink/slref/foreachsubsystem.html For Each subsystem> where the input is an array of 1...

mehr als 13 Jahre vor | 0

| akzeptiert

Beantwortet
How to take signal description in Matlab workspace?
Please see <http://www.mathworks.com/support/solutions/en/data/1-I9ZA19/index.html?product=ML&solution=1-I9ZA19 How can I progra...

mehr als 13 Jahre vor | 0

Beantwortet
Analyzing and creating fixed-point data types.
I don't have a lot of experience with this, but I believe this should be possible in Simulink using the <http://www.mathworks.co...

mehr als 13 Jahre vor | 1

| akzeptiert

Beantwortet
Notifications when a Simulink block parameters change
I think this is possible for Mask parameters using dialog callbacks as described on <http://blogs.mathworks.com/seth/2008/08/13/...

mehr als 13 Jahre vor | 0

| akzeptiert

Beantwortet
Using Simulink from code
If you have input/output response data from the system(s), you might be able to use the <http://www.mathworks.com/products/sysid...

mehr als 13 Jahre vor | 0

Beantwortet
I am using matlab function block inside model simulink, when I run model fcn gives this error message,
You need to pre-declare the size/type of the variable which is supposed to be calculated by an extrinsic function (an extrinsic ...

mehr als 13 Jahre vor | 0

Beantwortet
How can I use the 'From File'-block with simulation targets other than rsim?
I agree with Ryan. Reading/Writing MAT-files requires MATLAB run-time libraries, which is why the code generated for standalone ...

mehr als 13 Jahre vor | 1

| akzeptiert

Beantwortet
How can i get eigenvalues from my simulink model after small perturbation
Not sure if this works for SimPowerSystems models, but in general, you can use <http://www.mathworks.com/help/simulink/ug/linear...

mehr als 13 Jahre vor | 0

Beantwortet
no standalone apps output in console
Executables in general cannot return a value, which explains what you're seeing. In MATLAB, when you call a function without a s...

mehr als 13 Jahre vor | 5

Beantwortet
rtwintgt setup error help?!
Do you start MATLAB as administrator? If not, try doing that and rerun the installer. (Also, if you're using R2007b, you may ...

mehr als 13 Jahre vor | 0

| akzeptiert

Mehr laden