답변 있음
Subsystem, library, or model referencing, when wanting unique block names?
It seems like you have the ideal use-case for creating a masked subsystem block (with the parameters that can be changed registe...

거의 14년 전 | 2

| 수락됨

답변 있음
Simulink SFunction Interface Error: due to insufficient storage
Are you using the (Embedded) MATLAB Function block to bring your MATLAB code into Simulink? The MATLAB Function block generates ...

거의 14년 전 | 0

답변 있음
How to call Matlab functions from C S functions
You can use <http://www.mathworks.com/help/techdoc/apiref/mexcallmatlab.html mexCallMATLAB>, but will need to create/destroy mxA...

거의 14년 전 | 1

| 수락됨

답변 있음
detectin that codegen has finished
AFAIK, the codegen command is not asynchronous. Perhaps it takes a few seconds for the file system to register the new file? You...

거의 14년 전 | 0

답변 있음
ssSetDWorkUsageType warning in c-mex S-function
I don't believe the warnings should affect the results of the simulation (if that were the case, you would be seeing errors, not...

거의 14년 전 | 0

| 수락됨

답변 있음
unresolved external symbol mxDestroyArray referenced in function mexFunction
I'm assuming you have two versions of MATLAB on your 64-bit machine - one 32-bit, the other 64-bit. From what I understand, you ...

거의 14년 전 | 0

답변 있음
I can't set a parameters for embedded function (now matlab function) by line command
See this previously answered question: http://www.mathworks.com/matlabcentral/answers/32490-modify-an-embedded-matlab-function-b...

거의 14년 전 | 1

| 수락됨

답변 있음
Using a compiled matlab function in my programs.
I'd recommend looking at the <http://www.mathworks.com/help/toolbox/compiler/btdxt02-1.html examples in the documentation> to un...

거의 14년 전 | 0

답변 있음
How can I choose the workspace destination ?
It might be best to keep all simulation data within your function workspace if you plan to operate on the logged outputs/states ...

거의 14년 전 | 2

답변 있음
S-Function Builder Simple Integrator Implementation
Your Derivatives tab looks right, but I think you need this in your Outputs tab: y0[0] = xC[0]; Note that this is wha...

거의 14년 전 | 2

| 수락됨

답변 있음
Simulink Support Package and Arduino Mega 1280
Did you mean the package available <http://www.mathworks.com/matlabcentral/fileexchange/24675 here>? According to the comments/d...

거의 14년 전 | 0

답변 있음
I couldn't able to run Level 2 M-file S function...
You need to call setup from your top-level function: function svpwm_states(block) setup(block);

거의 14년 전 | 1

| 수락됨

답변 있음
How to use targetinstaller for previous version of Matlab, such as R2009a, to install lego toolbox?
The targetinstaller utility was introduced with the "Run on target" Simulink feature that started shipping in R2012a - there is ...

거의 14년 전 | 0

답변 있음
Integrate existing C++ code into SimuLink model
I'm not entirely sure whether you want to perform your calculations with a Simulink model or using MATLAB commands (you mentione...

거의 14년 전 | 0

| 수락됨

답변 있음
Stand alone windows .exe crashes after using deploy tool?
Could you try running your executable from a command window (as opposed to simply double-clicking on it)? Alternatively, you can...

거의 14년 전 | 0

답변 있음
RTW -> Warning: SIT 2009 Unknown data type. Constructor is enum
That error message seems to be specific to using the NI Real-Time Target (nidll.tlc) from the <http://digital.ni.com/public.nsf/...

거의 14년 전 | 0

답변 있음
How to use an overloaded function from a MATLAB compiled Dll in C# via P/Invoke ?
I am assuming you use varargin in your definition of myfun.m, in order to allow a variable number of inputs? I don't know for su...

거의 14년 전 | 1

| 수락됨

답변 있음
S-function compilation error
Is this a hand-written S-function? It looks like you might need to link against additional source files or libraries that define...

거의 14년 전 | 1

답변 있음
ERROR : "Undefined function or variable 'ts'". While running the program
Your model has a block sample time set to the variable 'ts', which needs to exist in the workspace. You can create this variable...

거의 14년 전 | 2

답변 있음
Using Text inside a Embedded Matlab function
As is <http://www.mathworks.com/help/toolbox/eml/ug/bq37dee.html documented here>, cell arrays are not supported for Code Genera...

거의 14년 전 | 3

답변 있음
What is the difference between Signal Processing Toolbox and DSP System Toolbox R2023a?
AFAIK, DSP System Toolbox (which was introduced in R2011a) simply <http://www.mathworks.com/help/toolbox/dsp/rn/bqmfe_z-10.html#...

거의 14년 전 | 1

답변 있음
fsolve in simulink model
Perhaps the (Embedded) MATLAB Function block is not right for you, because FSOLVE is not supported for code-generation. If you'r...

거의 14년 전 | 2

| 수락됨

답변 있음
How can I run a Lego Mindstorms robot without the Simulink model option "Run on target hardware"?
Do you still see an option until Tools that says "Install/Update Package" or something to that effect? I've had the "Run on targ...

거의 14년 전 | 0

답변 있음
How to read a video which is implemented by visual studio 2008 in matlab 2010?
I'm guessing that you meant to say that you have a C/C++ program that produces a video feed, which you want to make accessible t...

거의 14년 전 | 0

| 수락됨

답변 있음
Error message in Simulink
First, I think you should tackle the error that you see with the ODE45 solver - it looks like there is a problem with your S-fun...

거의 14년 전 | 0

| 수락됨

답변 있음
How do I get the version number of the Simulink in which the model was developed?
Please see <http://www.mathworks.com/support/solutions/en/data/1-9R4JIM/index.html How can I find out which version was used to ...

거의 14년 전 | 4

| 수락됨

답변 있음
How to exchange the data between two seperate simulink (.mld) model
For them to exchange data, they need to be running simultaneously, correct? AFAIK, the only way to run multiple models simultane...

거의 14년 전 | 0

답변 있음
Debugging a project which has mex files associated with it
Could you explain more about what you mean by "can't get to run both of them together"? I have debugged MATLAB files and C-MEX f...

거의 14년 전 | 0

답변 있음
How do I cut (chop) a vector in Simulink?
Try the <http://www.mathworks.com/help/toolbox/simulink/slref/selector.html Selector> block.

거의 14년 전 | 1

| 수락됨

답변 있음
Customizing Simulink block diagram options
It doesn't look like you can customize context (right-click) menus at this point. As per the <http://www.mathworks.com/help/rele...

거의 14년 전 | 2

더 보기