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

さらに読み込む