답변 있음
Stepping through sorted order of Simulink model
Yes, you can do that with the <http://www.mathworks.com/help/toolbox/simulink/ug/f5-6104.html Simulink Debugger>.

대략 14년 전 | 3

| 수락됨

답변 있음
Modify an "Embedded MATLAB Function block" from command window (Matlab command)
See <http://www.mathworks.com/support/solutions/en/data/1-1XIY8J/index.html How do I specify the MATLAB code for the function in...

대략 14년 전 | 3

| 수락됨

답변 있음
S-Function Block- Create Mask Error
Which S-function did you select for the block? There needs to be a C-MEX or MATLAB-file S-function associated with it. That S-fu...

대략 14년 전 | 0

답변 있음
matlab2008b stateflow generation code
You need to check the "Generate code only" box on the Configuration Parameters>Real-Time Workshop pane of the model. Try Ctrl+E ...

대략 14년 전 | 0

답변 있음
matlab function initiaizing the parameter
You can create kp as a persistent variable. For example: function myTest() persistent kp; if isempty(kp) ...

대략 14년 전 | 2

답변 있음
MCR executable different than original code
It seems like the deployed version of the code is picking up the <http://www.mathworks.com/help/toolbox/stats/pdf.html generic v...

대략 14년 전 | 0

답변 있음
how to convert simulink model to a .dll file
There is some documentation <http://zone.ni.com/devzone/cda/tut/p/id/3447 here> about generating a DLL from a Simulink model for...

대략 14년 전 | 0

답변 있음
How to connect a simpowersystem component with simelectronics component
I think this previous answer should help: http://www.mathworks.com/matlabcentral/answers/23565-how-to-connect-simscape-block-wit...

대략 14년 전 | 0

| 수락됨

답변 있음
Matlab Coder output into CCS (version 3.1)
There should have been a .mk file generated with all the code - it should show you the exact compilation commands needed. Simpli...

대략 14년 전 | 0

답변 있음
Possible to distribute shared .dll without requiring end users to have C compiler?
A similar question was asked here previously: http://www.mathworks.com/matlabcentral/answers/32007-using-mcc-to-compile-a-code-t...

대략 14년 전 | 0

| 수락됨

답변 있음
S-function executes only if clock is present in Simulink file
Turn on 'Format>Sample Time Display>Colors' on your model without the Clock block. What colors do you see? This may provide us s...

대략 14년 전 | 0

답변 있음
Function without body in generated code like 'modile_name'TID0(void)
This seems like it could be a bug, so I highly recommend that you report this to MathWorks Tech Support. My suspicion is that...

대략 14년 전 | 0

답변 있음
Simulink block name generation
I think the forward slash is used as an <http://en.cppreference.com/w/cpp/language/escape escape sequence> to denote that the sl...

대략 14년 전 | 0

| 수락됨

답변 있음
controlling manual switch through m-file
It looks like this should work set_param('path/to/block', 'sw', '0') set_param('path/to/block', 'sw', '1') I found th...

대략 14년 전 | 1

| 수락됨

답변 있음
Nonlinear equations within Simulink Coder
I'm not sure, but I'm guessing that the blocks that introduce nonlinear dynamics may not even be supported for code-generation.

대략 14년 전 | 0

답변 있음
Problem regarding RTW code generation feature of simulink
Do you mean the TCP/IP blocks from the Instrument Control Toolbox? I'm not even sure that those are supported for code-generatio...

대략 14년 전 | 0

| 수락됨

답변 있음
fixdt() and RTW-EC
Does inserting a Data Type Conversion block in front of the output port help? You need to configure the Data Type Conversion blo...

대략 14년 전 | 1

답변 있음
Where is inport value coming from?
See <http://www.mathworks.com/help/toolbox/simulink/ug/bsuwmmp.html Importing Data to Root-Level Input Ports>. In particular, yo...

대략 14년 전 | 0

| 수락됨

답변 있음
Error runing ffmpeg in Matlab function in linux
What do you get when you just run: >> [status,result] = unix('/usr/bin/ffmpeg -i "/home/ly/Documents/movie/AVSS_AB_Easy_Div...

대략 14년 전 | 0

답변 있음
HDL Cosimulation with simulink and Modelsim
It <http://www.mathworks.com/support/solutions/en/data/1-8SNFKE/index.html looks like> the supported versions of ModelSim with R...

대략 14년 전 | 0

답변 있음
Differential equation in embedded block in simulink ?
I don't think the Embedded MATLAB Function block is a good choice to solver differential equations. I would recommend using S-Fu...

대략 14년 전 | 2

| 수락됨

답변 있음
Using mcc to compile a code that uses a .dll library
As the error message suggests, you cannot use a header file (.h) with loadlibrary in deployment mode. The link in the error: htt...

대략 14년 전 | 1

| 수락됨

답변 있음
simulation time in Simulink
The simulation time is specified in seconds, so you would need to use 86400 to set a day's duration. (Note however that this doe...

대략 14년 전 | 1

| 수락됨

답변 있음
How to reset parameters in a simuink block when a certain condition is met in the simulink loop
It is <http://blogs.mathworks.com/seth/2011/03/08/how-do-i-change-a-block-parameter-based-on-the-output-of-another-block/ not po...

대략 14년 전 | 1

| 수락됨

답변 있음
change the position of a part of the input ports of a simulink block.
AFAIK, it is currently not possible to change the positions of input/output ports on a Simulink block. The best you can do it Ro...

대략 14년 전 | 0

| 수락됨

답변 있음
Problem with libeng.dylib and libmx.dylib for maci64
I'm not a Mac user, but from my experience on Windows and Linux, it seems like the gfortran compiler may be attempting to compil...

대략 14년 전 | 0

답변 있음
start simulation of simulink with mfile~~
Is Panorama a string variable containing the name of the model? Also, not sure where you got this command from: set_param(Panora...

대략 14년 전 | 0

답변 있음
gain
Do you plan to use the Clock block to determine when t>5secs? It is typically not possible to change a block parameter based on ...

대략 14년 전 | 0

| 수락됨

답변 있음
How to get system date and time into simulink in EXTERNAL MODE?
CLOCK is not one of the functions supported for code generation, so you cannot use it in external mode. It might be best to use ...

대략 14년 전 | 0

답변 있음
Dynamic icon drawing in Simulink masked subsystem is not working...
It looks like some error is occurring in one or more of the drawing commands. You could try running the commands like the PLOT c...

대략 14년 전 | 0

더 보기