답변 있음
Is it possible to program nested functions in a Simulink user-defined function?
Nested functions are not supported for code-generation, so you can't use them inside a MATLAB Function block, but I think this s...

거의 14년 전 | 1

| 수락됨

답변 있음
If I don't want simulink to generate the file "rtwtypes.h", how can I do?
I don't think you can avoid rtwtypes.h from getting generated because it contains typedefs for platform-independent types. You m...

거의 14년 전 | 0

| 수락됨

답변 있음
Data exchange between a C-mex S-function and a function-call subsystem
Are the S-function outputs that act as the function-call subsystem inputs computed *after* the function-call is triggered? As ex...

거의 14년 전 | 0

답변 있음
Customs block API creation using TFL
TFL is used to replace operators like +, -, etc. or basic math functions like sin, cos, etc. It appears that you need to build a...

거의 14년 전 | 0

답변 있음
how to display the results from simulink in a table
You could set up a model execution event listener that is triggered every time a block's output is computed. This event listener...

거의 14년 전 | 0

답변 있음
Setting Simulink model inports using sim() commands
You need to use the Data Import/Export Pane of the model's Configuration Parameters window to get data using the Inport block. S...

거의 14년 전 | 2

| 수락됨

답변 있음
problem with getting data for GUI interface from Simulink
See <http://www.mathworks.com/help/toolbox/simulink/ug/f13-92122.html Accessing Block Data During Simulation>.

거의 14년 전 | 0

답변 있음
How to saturate a variable according to my range in RTW embedded coder
What about using the <http://www.mathworks.com/help/releases/R2011b/toolbox/simulink/slref/saturation.html Saturation> block at ...

거의 14년 전 | 0

| 수락됨

답변 있음
'Not a valid win32 application' error - using mex files with Matlab 2011b and Visual C++ 2010 Express
Is there a reason that you don't compile directly using the "mex" command in MATLAB? The most likely issue could be that the MEX...

거의 14년 전 | 0

| 수락됨

답변 있음
error while executing computer vision toolbox.
Errors like "The specified procedure could not be found." usually indicate that the MEX-file (which is essentially a DLL) depend...

거의 14년 전 | 0

답변 있음
Error - opening simulink .mdl results in a call to and the running of an alternate model...
That's very strange - could you try opening your (desired) model in a text editor (like the MATLAB Editor) and do a string searc...

거의 14년 전 | 1

| 수락됨

답변 있음
passing structure from matlab workspace to embedded matlab function block
You will need to define a Simulink.Bus signal to import the structure into Simulink as a nonvirtual bus - see <http://www.mathwo...

거의 14년 전 | 2

답변 있음
Comm USRP installation with R2012a / Linux
Renaming the folder may have temporarily gotten past the error for you, but the primary issue here is that you have 64-bit MATLA...

거의 14년 전 | 0

답변 있음
How to set the datatype of outport of an S function to Fixed point datatype force fully ?
# Include fixedpoint.h and fixedpoint.c as described <http://www.mathworks.com/help/releases/R2011b/toolbox/fixpoint/ug/f8840.ht...

거의 14년 전 | 3

| 수락됨

답변 있음
Matlab Compiler or Simulink Coder which would I need?
MATLAB Compiler and MATLAB Coder do not support Simulink models for code generation at all. Simulink Coder is the right product ...

거의 14년 전 | 2

| 수락됨

답변 있음
Problem with Real time Workshop Embedded Coder and Compiler (Mex -setup) in Build Subsystem
When you ran "mex -setup", did MATLAB pick up your compiler automatically, or did you enter the path manually? It seems like you...

거의 14년 전 | 0

답변 있음
How to set block Signal From Workspace
You need to create matrices such that the first column is the time vector associated with each sample, and the second column if ...

거의 14년 전 | 1

답변 있음
Cannot install real time window target
Are you running the command from C:\Windows\system32? If yes, you need to switch to a different directory. See <http://www.mathw...

거의 14년 전 | 0

| 수락됨

답변 있음
Invalid MEX-file
Was the S-Function generated on your machine, or elsewhere? The error about "The specified procedure could not be found." usuall...

거의 14년 전 | 0

| 수락됨

답변 있음
error: Code generation failed Failed to create file
It appears that a Stateflow chart in your model needs to generate code for execution, but MATLAB/Simulink is unable to write to ...

거의 14년 전 | 0

답변 있음
Invert Multiport switch - Simulink
Do you mean that you want to control the signal flow, so that it flows through to a select output of the switch, but not to the ...

거의 14년 전 | 0

답변 있음
Trouble about importing data using 'From File' block in simulink
As you mentioned, your time stamps are not exactly at 10ms all the time. What if you fudge the time-stamps of the input signal s...

거의 14년 전 | 3

| 수락됨

답변 있음
Multiple copies of the same embedded subfunction in simulink
It seems writing line_buffer as a class with 'buffer' and 'ctr' as its members might be the right way to solve this problem. How...

거의 14년 전 | 0

답변 있음
One-Step a Simulink Simulation from the MATLAB command line
Yes, you should be able to use the <http://www.mathworks.com/help/releases/R2011b/toolbox/simulink/slref/model_cmd.html _model_>...

거의 14년 전 | 1

답변 있음
Trouble at linking stage with Matlab 2011 and Microsoft Visual C++ 2010
All MEX-functions need to have an entrypoint function call mexFunction - it looks like you have not defined it in test.c. Look a...

거의 14년 전 | 0

답변 있음
simulink- m level code
Not sure what you're looking for, but there's no automated way to do this, you'll need to do it manually. However, you can also ...

거의 14년 전 | 0

답변 있음
fcn blocks, model referencing and workspace variables
I think you might need to declare c1 as a Simulink.Parameter object and define it in the base workspace. See <http://www.mathwor...

거의 14년 전 | 0

답변 있음
How to add a mask parameter to a simulink block
You need to do a set_param on the block to set MaskVariables, MaskPrompts, MaskValues, etc.

거의 14년 전 | 1

| 수락됨

답변 있음
Open the Configuration Parameters window by using the command window
>> openDialog(getActiveConfigSet(gcs))

거의 14년 전 | 0

| 수락됨

답변 있음
Modify the MaskDIsplay of a block by using c sfunction
Do you mean that you need to perform that command from the C-code? Is it because the MaskDisplay value is computed dynamically b...

대략 14년 전 | 1

| 수락됨

더 보기