回答済み
How can I invoke a Java window from an mdl file?
I would recommend first writing a MATLAB function to call into your Java function and get the selected file name. See <http://ww...

約14年 前 | 0

回答済み
Could the Simulink Design Verifier toolbox check the Targetlink(dSPACE) model ?
I don't know a whole lot about the Simulink Design Verifier, but after looking at the documentation, I found <www.mathworks.com/...

約14年 前 | 2

| 採用済み

回答済み
Collecting tweet from twitter using Matlab
You can use the <https://dev.twitter.com/docs/api Twitter REST API> to perform such queries. There is a MATLAB File Exchange sub...

約14年 前 | 1

| 採用済み

回答済み
embedded matlab function error
Walter is correct - sparse matrices are documented amongst the <www.mathworks.com/help/releases/R2012a/toolbox/eml/ug/bq37dee.ht...

約14年 前 | 3

| 採用済み

回答済み
pass structure from Matlab to mex
You can pass the structure on to your MEX-file as is, but the real question is how would you access the fields of the structure ...

約14年 前 | 0

| 採用済み

回答済み
Structure or array for S-function input, output and parameters?
I can't imagine there being a major difference in Simulink performance between #1 and #2 - they are equivalent to writing two C ...

約14年 前 | 1

回答済み
Importing matlab values into Simulink Stateflow
You should probably use one of the three <http://www.mathworks.com/help/toolbox/simulink/ug/bq3qblc-1.html#bq3t2zz MATLAB Functi...

約14年 前 | 1

回答済み
Carriage returns in MAAB Guideline
I think it means that the carriage return character (\r) is allowed as part of a block name. If you're not familiar with the phr...

約14年 前 | 0

回答済み
mclTerminateApplication() destroys rest of C-application
AFAIK, you should be able to run generic C code after mclTerminateApplication(). Have you tried setting a breakpoint in your cod...

約14年 前 | 0

回答済み
how to configure a variable in a simulink block which changes with the simulation results
You cannot change a parameter based on the output of another block. Please see <http://blogs.mathworks.com/seth/2011/03/08/how-d...

約14年 前 | 0

| 採用済み

回答済み
run a c++ function from matlab 2010b
How about creating a <http://www.mathworks.com/help/matlab/creating-c-c-and-fortran-programs-to-be-callable-from-matlab-mex-file...

約14年 前 | 0

回答済み
MEX Verification in MATLAB (R2008a)
You need to run "mex -setup" ("mbuild -setup" is for configuring the compiler to be used with MATLAB Compiler).

約14年 前 | 0

| 採用済み

回答済み
Is a third-party compiler needed to run a MATLAB Compiler standalone executable that uses loadlibrary function
Please see this previous discussion: http://www.mathworks.com/matlabcentral/answers/32007-using-mcc-to-compile-a-code-that-uses-...

約14年 前 | 0

回答済み
Error: Cannot propogate bus signal from output 1 to input 5
Have you set the bus object (in the workspace) as the input datatype for the corresponding port inside the referenced model?

約14年 前 | 1

| 採用済み

回答済み
Configure parameter of a simulink model as a variable name & pass it through a m file
You can create and save your model with the parameter value set to 'mode'. Now, you'll need to be sure that a variable called 'm...

約14年 前 | 3

| 採用済み

回答済み
when using libinfo on my system it does not return values for all the blocks...
Blocks from the Simulink 'built-in' library are the ones that do not have a 'ReferenceBlock' parameter. For such blocks, you may...

約14年 前 | 0

回答済み
Why does the Fixed Point Advisor show a Trigonometric function as unsupported when using CORDIC approximation?
What version of MATLAB are you using? Are you referring to the documentation installed with your version, or from the web? Fixed...

約14年 前 | 0

回答済み
How to access position information of line labels in Simulink
I don't think there is a way to get/set signal label positions currently. Please consider confirming this with MathWorks Technic...

約14年 前 | 0

回答済み
How to tell Simulink not to treat a subsystem as a sublibrary
According to <http://www.mathworks.com/support/solutions/en/data/1-31C704/index.html this solution> you need to mask it AND add ...

約14年 前 | 0

| 採用済み

回答済み
Embedded MATLAB function block in simulink is not working.
You might be missing the Windows SDK installation. Please see <http://www.mathworks.com/support/solutions/en/data/1-BYZCYZ/?solu...

約14年 前 | 0

回答済み
Is there a way to calculate jacobians of Simulink models?
I'm not entirely sure if this is what you're looking for, but it is possible to get the Solver Jacobian Pattern for a Simulink m...

約14年 前 | 1

回答済み
Can you use a Simulink model to set the values in a different model?
AFAIK, the only supported way currently to have two models run simultaneously and send/receive data from each other is to use bo...

約14年 前 | 2

| 採用済み

回答済み
why embedded matlab function failed to determine the size of expression
Strange. This works fine for me (I'm using R2011b). Perhaps you are using an older version of MATLAB? What about if you pre-allo...

約14年 前 | 0

| 採用済み

回答済み
Level 2 MATLAB S-function - Initial Condition Input
Brian: I have explained <http://www.mathworks.com/matlabcentral/answers/41050 here> why S-functions do not have the ability to t...

約14年 前 | 2

回答済み
Simulink how to comb data export to "To Workspace"
Try moving the To Workspace block inside of the Enabled Subsystem.

約14年 前 | 0

| 採用済み

回答済み
How to create my own model callback function (InitFcn, StartFcn,...) in Model properties/Callbacks panel ?
Sorry, it is currently not possible to introduce your own model callback. The PostLoadFcn is the latest option that you have bef...

約14年 前 | 0

回答済み
Is there any known eason why my level 2 matlab S-function runs slow
Your code looks fairly simple, and I don't see anything that stands out, but how do you figure out that it's the S-function that...

約14年 前 | 1

| 採用済み

回答済み
How do I output an array from my level 2 S Function? Please help!
Have you configured block.OutputPort(1).Dimensions to N?

約14年 前 | 1

回答済み
Level-2 M-file S-Function
Perhaps you have block.NumDialogPrms set to 25 in your MATLAB S-function code?

約14年 前 | 1

回答済み
view .mexw32 (MEXW32 File) in Matlab R2011a
It looks like what you have is an <http://www.mathworks.com/help/toolbox/simulink/sfg/f6-151.html S-function>. You cannot run an...

約14年 前 | 0

さらに読み込む