답변 있음
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...

대략 14년 전 | 1

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

대략 14년 전 | 0

| 수락됨

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

대략 14년 전 | 0

| 수락됨

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

대략 14년 전 | 0

답변 있음
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.

대략 14년 전 | 0

| 수락됨

답변 있음
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 ...

대략 14년 전 | 3

| 수락됨

답변 있음
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 ...

14년 초과 전 | 1

| 수락됨

답변 있음
[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...

14년 초과 전 | 0

답변 있음
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...

14년 초과 전 | 0

답변 있음
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...

14년 초과 전 | 0

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

14년 초과 전 | 0

| 수락됨

답변 있음
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. ...

14년 초과 전 | 0

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

14년 초과 전 | 0

| 수락됨

답변 있음
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-...

14년 초과 전 | 0

| 수락됨

답변 있음
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...

14년 초과 전 | 1

| 수락됨

답변 있음
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(...

14년 초과 전 | 2

| 수락됨

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

14년 초과 전 | 0

| 수락됨

답변 있음
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...

14년 초과 전 | 0

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

14년 초과 전 | 0

| 수락됨

답변 있음
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...

14년 초과 전 | 0

| 수락됨

답변 있음
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 ...

14년 초과 전 | 0

| 수락됨

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

14년 초과 전 | 0

답변 있음
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...

14년 초과 전 | 0

답변 있음
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...

14년 초과 전 | 0

답변 있음
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...

14년 초과 전 | 0

답변 있음
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 ...

14년 초과 전 | 1

| 수락됨

답변 있음
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...

14년 초과 전 | 0

| 수락됨

답변 있음
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 ...

14년 초과 전 | 1

| 수락됨

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

14년 초과 전 | 0

답변 있음
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...

14년 초과 전 | 3

| 수락됨

더 보기