Risposto
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>.

circa 14 anni fa | 3

| accettato

Risposto
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...

circa 14 anni fa | 3

| accettato

Risposto
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...

circa 14 anni fa | 0

Risposto
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 ...

circa 14 anni fa | 0

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

circa 14 anni fa | 2

Risposto
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...

circa 14 anni fa | 0

Risposto
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...

circa 14 anni fa | 0

Risposto
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...

circa 14 anni fa | 0

| accettato

Risposto
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...

circa 14 anni fa | 0

Risposto
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...

circa 14 anni fa | 0

| accettato

Risposto
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...

circa 14 anni fa | 0

Risposto
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...

circa 14 anni fa | 0

Risposto
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...

circa 14 anni fa | 0

| accettato

Risposto
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...

circa 14 anni fa | 1

| accettato

Risposto
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.

circa 14 anni fa | 0

Risposto
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...

circa 14 anni fa | 0

| accettato

Risposto
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...

circa 14 anni fa | 1

Risposto
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...

circa 14 anni fa | 0

| accettato

Risposto
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...

circa 14 anni fa | 0

Risposto
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...

circa 14 anni fa | 0

Risposto
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...

circa 14 anni fa | 2

| accettato

Risposto
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...

circa 14 anni fa | 1

| accettato

Risposto
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...

circa 14 anni fa | 1

| accettato

Risposto
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...

circa 14 anni fa | 1

| accettato

Risposto
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...

circa 14 anni fa | 0

| accettato

Risposto
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...

circa 14 anni fa | 0

Risposto
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...

circa 14 anni fa | 0

Risposto
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 ...

circa 14 anni fa | 0

| accettato

Risposto
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 ...

circa 14 anni fa | 0

Risposto
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...

circa 14 anni fa | 0

Carica altro