回答済み
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

| 採用済み

さらに読み込む