답변 있음

How can I define a custom BlockType in Simulink

The |BlockType| parameter cannot be customized, and is only defined by internal blocks. For your case, perhaps you could use |Ma...

How can I define a custom BlockType in Simulink

The |BlockType| parameter cannot be customized, and is only defined by internal blocks. For your case, perhaps you could use |Ma...

거의 10년 전 | 1

답변 있음

DLL issues with matdgns.c example

Are you attempting to run the application on a different machine from the one you compiled on? Visual Studio has runtime librari...

DLL issues with matdgns.c example

Are you attempting to run the application on a different machine from the one you compiled on? Visual Studio has runtime librari...

거의 10년 전 | 0

답변 있음

is it possible to update the parameter of synchronous generator block in simulink through a matlab programme

Yes, you can use the <http://www.mathworks.com/help/simulink/slref/set_param.html set_param> command.

is it possible to update the parameter of synchronous generator block in simulink through a matlab programme

Yes, you can use the <http://www.mathworks.com/help/simulink/slref/set_param.html set_param> command.

거의 10년 전 | 0

답변 있음

Inclusion of custom ENUM file during code generation throwing error

Is the header file getting included multiple times in the generated code? If so, you may want to try using <http://en.wikipedia....

Inclusion of custom ENUM file during code generation throwing error

Is the header file getting included multiple times in the generated code? If so, you may want to try using <http://en.wikipedia....

거의 10년 전 | 0

답변 있음

Simulink block with dynamic input port width and fix output port width

According to the documentation for <http://www.mathworks.com/help/simulink/sfg/sssetinputportwidth.html ssSetInputPortWidth>: ...

Simulink block with dynamic input port width and fix output port width

According to the documentation for <http://www.mathworks.com/help/simulink/sfg/sssetinputportwidth.html ssSetInputPortWidth>: ...

거의 10년 전 | 0

답변 있음

Real time workshop does not appear in Configuration Parameters (Matlab 2014a)

Real-Time Workshop has been renamed to "Simulink Coder" for a few releases now. The related pane in the Configuration Parameters...

Real time workshop does not appear in Configuration Parameters (Matlab 2014a)

Real-Time Workshop has been renamed to "Simulink Coder" for a few releases now. The related pane in the Configuration Parameters...

거의 10년 전 | 0

답변 있음

Faster way to run simulink simulation repeatedly for a large number of time

I think you will find the <http://www.mathworks.com/help/simulink/ug/saving-and-restoring-the-simulation-state-as-the-simstate.h...

Faster way to run simulink simulation repeatedly for a large number of time

I think you will find the <http://www.mathworks.com/help/simulink/ug/saving-and-restoring-the-simulation-state-as-the-simstate.h...

거의 10년 전 | 0

답변 있음

Can Simulink make blocks unviewable/uneditable to users?

Please see <http://www.mathworks.com/help/simulink/ug/protecting-referenced-models.html Protected Models>.

Can Simulink make blocks unviewable/uneditable to users?

Please see <http://www.mathworks.com/help/simulink/ug/protecting-referenced-models.html Protected Models>.

거의 10년 전 | 0

답변 있음

How to call C code generated with Matlab Coder from the statisticaL package R

Please see <http://www.mathworks.com/help/fixedpoint/ug/c-code-interface-for-unbounded-arrays-and-structure-fields.html#bsp2zmx ...

How to call C code generated with Matlab Coder from the statisticaL package R

Please see <http://www.mathworks.com/help/fixedpoint/ug/c-code-interface-for-unbounded-arrays-and-structure-fields.html#bsp2zmx ...

거의 10년 전 | 0

| 수락됨

답변 있음

how to make a loop for a simulation?

It seems like you can achieve the same result by using a Scope block with a Decimation factor of 10. Is there a reason you want ...

how to make a loop for a simulation?

It seems like you can achieve the same result by using a Scope block with a Decimation factor of 10. Is there a reason you want ...

거의 10년 전 | 0

답변 있음

how to use m file in simulink

Not sure what you mean by "use the plot in Simulink" - do you just need to use |x| as time and |y| as data in the model? In that...

how to use m file in simulink

Not sure what you mean by "use the plot in Simulink" - do you just need to use |x| as time and |y| as data in the model? In that...

거의 10년 전 | 0

답변 있음

Find differences between two simulink blocks

Please see this previously answered question: http://www.mathworks.com/matlabcentral/answers/39708-tool-for-showing-difference-b...

Find differences between two simulink blocks

Please see this previously answered question: http://www.mathworks.com/matlabcentral/answers/39708-tool-for-showing-difference-b...

거의 10년 전 | 0

답변 있음

How to hide/protect my *.mdl file from the final user, who need to run it?

You may want to look into <http://www.mathworks.com/help/simulink/ug/protecting-referenced-models.html protected models>.

How to hide/protect my *.mdl file from the final user, who need to run it?

You may want to look into <http://www.mathworks.com/help/simulink/ug/protecting-referenced-models.html protected models>.

거의 10년 전 | 0

| 수락됨

답변 있음

how to avoid rounding off error in simulink calculations?

The difference between 46.7889e5 and 46.7890e5 is 10, which is too large to be a rounding error. Most likely, what is happening ...

how to avoid rounding off error in simulink calculations?

The difference between 46.7889e5 and 46.7890e5 is 10, which is too large to be a rounding error. Most likely, what is happening ...

거의 10년 전 | 0

| 수락됨

답변 있음

Significant Figures in Simulink

I'm not very familiar with this area, but it seems to me like you might need to replace your data types with <http://www.mathwor...

Significant Figures in Simulink

I'm not very familiar with this area, but it seems to me like you might need to replace your data types with <http://www.mathwor...

거의 10년 전 | 0

답변 있음

S-Function Block and Masking Parameters

To set the number of inputs/outputs based on parameter values, you can add code such as the following to your |setup| function: ...

S-Function Block and Masking Parameters

To set the number of inputs/outputs based on parameter values, you can add code such as the following to your |setup| function: ...

거의 10년 전 | 0

| 수락됨

답변 있음

Invalid MEX-file, likely missing .dll

Could you please explain this statement: "libmysql.dll is exactly in the position specified" - how do you specify this path? Typ...

Invalid MEX-file, likely missing .dll

Could you please explain this statement: "libmysql.dll is exactly in the position specified" - how do you specify this path? Typ...

거의 10년 전 | 0

답변 있음

SImple question about Simulink S function

You can use |block.CurrentTime| to get the current time in the S-function. You can use a DWork to store the current time at each...

SImple question about Simulink S function

You can use |block.CurrentTime| to get the current time in the S-function. You can use a DWork to store the current time at each...

거의 10년 전 | 0

| 수락됨

답변 있음

(Simulink) Triggered Delay Line gone in 2014a. Replacements?

I don't know enough about the block, but perhaps you could try putting it inside a <http://www.mathworks.com/help/simulink/slref...

(Simulink) Triggered Delay Line gone in 2014a. Replacements?

I don't know enough about the block, but perhaps you could try putting it inside a <http://www.mathworks.com/help/simulink/slref...

거의 10년 전 | 0

답변 있음

How to use Matlab generated c code for High Level Synthesis ?

If you're using a synthesis tool, don't you need HDL code, and not C code? You probably should be using <http://www.mathworks.co...

How to use Matlab generated c code for High Level Synthesis ?

If you're using a synthesis tool, don't you need HDL code, and not C code? You probably should be using <http://www.mathworks.co...

거의 10년 전 | 0

답변 있음

I have installed dSPACE 6.5 version in 2009a MATLAB. I found warning message as Real time workshop is not installed or not licensed. Anybody can tell please which tool box is responsible for connection betweeen SIMULINK and dSPACE

See <http://www.dspace.com/en/pub/home/products/sw/pcgs/targetli.cfm dSPACE TargetLink>.

I have installed dSPACE 6.5 version in 2009a MATLAB. I found warning message as Real time workshop is not installed or not licensed. Anybody can tell please which tool box is responsible for connection betweeen SIMULINK and dSPACE

See <http://www.dspace.com/en/pub/home/products/sw/pcgs/targetli.cfm dSPACE TargetLink>.

거의 10년 전 | 0

| 수락됨

답변 있음

Co-simulation between Matlab and Dymola

When you say co-simulation between MATLAB and Dymola, you mean MATLAB and not Simulink right? (Because S-functions are a Simulin...

Co-simulation between Matlab and Dymola

When you say co-simulation between MATLAB and Dymola, you mean MATLAB and not Simulink right? (Because S-functions are a Simulin...

거의 10년 전 | 0

답변 있음

How to build, connect to target and run a simulink model with GUI?

If you'd like to access data during simulation, please follow the methodology described <http://www.mathworks.com/help/simulink/...

How to build, connect to target and run a simulink model with GUI?

If you'd like to access data during simulation, please follow the methodology described <http://www.mathworks.com/help/simulink/...

거의 10년 전 | 1

| 수락됨

답변 있음

Simulink Sfunction Error - not a valid Win32 application

My guess is that your update either wiped out your system PATH environment variable or uninstalled your Visual C++ redistributab...

Simulink Sfunction Error - not a valid Win32 application

My guess is that your update either wiped out your system PATH environment variable or uninstalled your Visual C++ redistributab...

거의 10년 전 | 0

답변 있음

How can I generate a ccs project base on the **.out file which comes from matlab2013a/simulink and ccs4 ？

Project generation with Simulink is not supported for CCSv4/5, this is only possible with older versions of CCS. You need to use...

How can I generate a ccs project base on the **.out file which comes from matlab2013a/simulink and ccs4 ？

Project generation with Simulink is not supported for CCSv4/5, this is only possible with older versions of CCS. You need to use...

거의 10년 전 | 0

답변 있음

SIMULINK Code Generation with USB Webcam under Ubuntu

Are you able to run the model using: >> !sudo ./model at the MATLAB prompt? If yes, it could be that libmwimaqmex.so nee...

SIMULINK Code Generation with USB Webcam under Ubuntu

Are you able to run the model using: >> !sudo ./model at the MATLAB prompt? If yes, it could be that libmwimaqmex.so nee...

거의 10년 전 | 0

답변 있음

How can I replace ksdensity for c++ generation with the Matlab Coder ?

I don't know of a MATLAB function equivalent that is supported for code-generation, but if you are able to find a C implementati...

How can I replace ksdensity for c++ generation with the Matlab Coder ?

I don't know of a MATLAB function equivalent that is supported for code-generation, but if you are able to find a C implementati...

거의 10년 전 | 0

| 수락됨

답변 있음

How to set temporary variables as Gain parameters in Simulink ?

The SIM command looks for variables in the base workspace by default. In this case, 'x' is present in the caller functions works...

How to set temporary variables as Gain parameters in Simulink ?

The SIM command looks for variables in the base workspace by default. In this case, 'x' is present in the caller functions works...

거의 10년 전 | 0

| 수락됨

답변 있음

What is a non-inlined S function

Please see the documentation for <http://www.mathworks.com/help/rtw/ug/s-functions-for-code-generation.html#f53130 Noninlined S-...

What is a non-inlined S function

Please see the documentation for <http://www.mathworks.com/help/rtw/ug/s-functions-for-code-generation.html#f53130 Noninlined S-...

거의 10년 전 | 0

답변 있음

Error : Subscripting into an mxArray is not supported.

Please see <http://www.mathworks.com/matlabcentral/answers/122167-subscripting-into-an-mxarray-is-not-supported this previously ...

Error : Subscripting into an mxArray is not supported.

Please see <http://www.mathworks.com/matlabcentral/answers/122167-subscripting-into-an-mxarray-is-not-supported this previously ...

거의 10년 전 | 0