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

13 years ago | 0

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

13 years ago | 0

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

13 years ago | 0

| accepted

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

13 years ago | 0

| accepted

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

13 years ago | 0

| accepted

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

13 years ago | 0

Answered
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?

13 years ago | 0

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

13 years ago | 0

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

13 years ago | 0

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

13 years ago | 1

| accepted

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

13 years ago | 0

| accepted

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

13 years ago | 0

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

13 years ago | 0

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

13 years ago | 0

| accepted

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

13 years ago | 0

| accepted

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

13 years ago | 0

| accepted

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

13 years ago | 0

| accepted

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

13 years ago | 0

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

13 years ago | 0

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

13 years ago | 0

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

13 years ago | 0

| accepted

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

13 years ago | 0

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

13 years ago | 1

| accepted

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

13 years ago | 0

| accepted

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

13 years ago | 0

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

13 years ago | 0

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

13 years ago | 1

| accepted

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

13 years ago | 0

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

13 years ago | 5

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

13 years ago | 0

| accepted

Load more