Respondida
How can I send a result to the workspace and take the same result from workspace ??
The "To Workspace" block does not write the variable to the workspace immediately, it is only available at the end of the simula...

más de 14 años hace | 1

Respondida
mex file compiling error
Is this an S-function? If yes, you are probably missing: #include "simstruc.h"

más de 14 años hace | 0

| aceptada

Respondida
Simulink model layout
You can use the set_param command to programmatically set the position of a block: set_param('path/to/block', 'Position', ...

más de 14 años hace | 0

| aceptada

Respondida
Error in builnding model on Arduino
Is <http://www.mathworks.com/matlabcentral/fileexchange/32374-matlab-support-package-for-arduino-aka-arduinoio-package this> whe...

más de 14 años hace | 0

Respondida
Chirp Signal Block in MATLAB
Yes, since there is no amplitude parameter, you can simply place a Gain block after it to achieve the desired frequency.

más de 14 años hace | 0

| aceptada

Respondida
how can I measure the real time taken by a simulation in case i use a simulink model?
You still use tic-toc and run the simulation from MATLAB: >> tic; sim(bdroot); toc Or, use the Simulink Profiler. Turn ...

más de 14 años hace | 3

| aceptada

Respondida
implementing dot between functions
The dot between adaptfilt and lms is actually to depict that lms is a method that belongs to the adaptfilt class (the dot as in ...

más de 14 años hace | 1

| aceptada

Respondida
[sys] output.
Since Level-1 S-functions have long been deprecated, and only exist for the sake of backward compatibility, there is not a lot o...

más de 14 años hace | 0

Respondida
S-function Matlab level I
Check out the documentation on <http://www.mathworks.com/help/releases/R2011b/toolbox/simulink/sfg/f6-12629.html How S-functions...

más de 14 años hace | 0

Respondida
Saving data in Model Workspace
See the <http://www.mathworks.com/help/toolbox/simulink/ug/f4-140122.html#f4-140142 Using MATLAB Commands to Change Workspace Da...

más de 14 años hace | 0

Respondida
simulink
This question is quite similar to your earlier question that I answered here: http://www.mathworks.com/matlabcentral/answers/285...

más de 14 años hace | 0

| aceptada

Respondida
How to load the Embedded Coder output into Code Composer Studio 4?
Support for CCS4 was only added in R2011a - so if you're using a previous version you might have trouble interfacing with CCS4. ...

más de 14 años hace | 0

Respondida
simulink
The <http://www.mathworks.com/help/releases/R2011b/toolbox/simulink/slref/minmaxrunningresettable.html MinMax Running Resettable...

más de 14 años hace | 0

| aceptada

Respondida
Insert variable workspace in embedded MATLAB function
The load function is not amongst the <http://www.mathworks.com/help/toolbox/eml/ug/bq1h2z7-11.html functions supported for code-...

más de 14 años hace | 0

| aceptada

Respondida
The FIND block in Simulink is fixed size, but labeled as variable
The error that you get is "Data is inferred as a variable size matrix, while its specified type is something else." - which mean...

más de 14 años hace | 1

| aceptada

Respondida
Embedded matlab function error..
It looks like you are trying to create a variable whose size is dynamic. For example: function y = myfun(n) y = zeros(...

más de 14 años hace | 2

| aceptada

Respondida
stoping the simulink.
The command to stop simulation is: >> set_param(modelName, 'SimulationCommand', 'Stop') However, Simulink does not let ...

más de 14 años hace | 0

| aceptada

Respondida
GPS signal into simulink via arduino
I am not aware of any blockset directly produced by MathWorks that fulfills this requirement. However, there may be 3rd party bl...

más de 14 años hace | 0

Respondida
Simulink and compiler
See Seth and Chirag's answers here: http://www.mathworks.com/matlabcentral/answers/10193-matlab-compiler-and-simulink

más de 14 años hace | 0

| aceptada

Respondida
Shared Library (dll) called by another Shared Library (dll)
Do you mean that you are using LOADLIBRARY and are seeing errors loading Level1.dll? Or do you mean that MATLAB loads Level1.dll...

más de 14 años hace | 0

| aceptada

Respondida
Bad Handle Error
What is the exact error message? Guessing from your description, it might mean that the S-function block is not able to execute ...

más de 14 años hace | 0

| aceptada

Respondida
How do I list all my dependent m-Files?
You can use <http://www.mathworks.com/help/techdoc/ref/depfun.html depfun>.

más de 14 años hace | 0

Respondida
Unable to find an unused TCP/IP port to connect to the rapid accelerator target for model
It appears that firewall protection on your machine can cause this type of error. Try turning it off to see if the error goes aw...

más de 14 años hace | 0

Respondida
linking libeng.lib problem in VC++ 2010
Have you configured your Linker properties to the path where libeng.lib is present and also included libeng.lib in the Additiona...

más de 14 años hace | 0

Respondida
code generation using simulink
Support for CCS 4.0 was only recently added (I think it was R2011a). Also, you need to use the XMakefile configuration for CCS 4...

más de 14 años hace | 0

Respondida
simulink 'tofile' block creates an unloadable mat file
I believe there is a problem with MATLAB being unable to load large MAT-files created by the "To File" block - how many samples ...

más de 14 años hace | 1

| aceptada

Respondida
Embedded Matlab in Acclerator Mode
The Embedded MATLAB blocks generate a C-MEX S-function in Normal/Accelerator mode (not an M-file S-function). Like you have obse...

más de 14 años hace | 0

| aceptada

Respondida
Problem with matlab function block.
The MATLAB Function block does not allow dynamic sizing of variables. The best you can do is figure out a maximum size for your ...

más de 14 años hace | 1

| aceptada

Respondida
Problem in load library when using opencv and matlab
See if this previous discussion helps: http://www.mathworks.it/matlabcentral/answers/27971-loadlibrary-error

más de 14 años hace | 0

Respondida
Working with MATLAB classes in the Level-2 MATLAB S-Functions
The ideal technique to save data in an S-function in such a way that it is available in all the callback methods is to use <http...

más de 14 años hace | 3

| aceptada

Cargar más