답변 있음
How do I pass Simulink variables from the “Configuration Parameters” to a GUI created using GUIDE?
I think the problem might that you are defining the variables (sim_time, etc.) in the function workspace of your GUI, but the Si...

13년 초과 전 | 0

| 수락됨

답변 있음
find_system('stateflow_chart_handle', 'StateflowType', 'Data')
You need to use the <http://www.mathworks.com/help/stateflow/api/quick-start-for-the-stateflow-api.html Stateflow API> to search...

13년 초과 전 | 2

| 수락됨

답변 있음
How can i play sound from Simulink???
Try the <http://www.mathworks.com/help/matlab/ref/sound.html SOUND> function.

13년 초과 전 | 0

답변 있음
How to set the value of RTWCAPIRootIO in TLC file?
I suspect that there is an internal TLC file that overrides your setting with that obtained from the Configuration Parameters. N...

13년 초과 전 | 0

| 수락됨

답변 있음
any application closing using matlab
If the open application is a COM server, you might also be able to use the MATLAB COM API (Although I haven't tried this on my e...

13년 초과 전 | 1

답변 있음
Environment Setup for TICCS for the board eZdsp f28335 in matlab and simulink
I'm not very familiar with that environment either, but you might find it useful to run <http://www.mathworks.com/products/embed...

13년 초과 전 | 0

답변 있음
about how to use embedded matlab function
Do you mean that the following commands return different results for you: >> cd >> !cd If you don't know how to con...

13년 초과 전 | 0

답변 있음
how to read in variable from workspace in s-function written in C without simulink crashing
Your use of the MEX API looks fine to me, but I think you're making some syntactic mistakes: *currentTemperature = tempera...

13년 초과 전 | 0

| 수락됨

답변 있음
How to enter a value to a simulation while it is executing
Assuming that the variables a and b correspond to tunable parameters of a block, you can indeed change the value of either varia...

13년 초과 전 | 0

| 수락됨

답변 있음
Matlab type mismatch in Embedded Matlab Functions
Please see Alexander's answer on <http://www.mathworks.com/matlabcentral/answers/12071 this previously answered question>.

13년 초과 전 | 0

답변 있음
Why I cannot find the ".NET Assembly" option in the Deployment Tool in Matlab 2012b?
Perhaps you have not installed, or don't have a license for <http://www.mathworks.com/products/netbuilder/ MATLAB Builder NE>?

13년 초과 전 | 0

답변 있음
Display or highlight parts of simulink model from script
I think you need <http://www.mathworks.com/help/simulink/slref/hilite_system.html hilite_system>.

13년 초과 전 | 0

답변 있음
How can I stream data form MATLAB to Simulink in real time?
You can either use the block <http://www.mathworks.com/help/simulink/ug/accessing-block-data-during-simulation.html RuntimeObjec...

13년 초과 전 | 1

| 수락됨

답변 있음
Pause and play simulink in programming
See <http://www.mathworks.com/support/tech-notes/1900/1903.html#13 this page> for information on using the SET_PARAM command to ...

13년 초과 전 | 1

| 수락됨

답변 있음
Inputting frame-based signals to Stateflow Chart
I'm not 100% sure, but seeing the error message, it looks like Stateflow charts don't support frame-based signals at this point....

13년 초과 전 | 0

| 수락됨

답변 있음
Simulink Coder - pass by reference
Do you mean that each block should perform "in-place" operations? In other words, the output signal reuses the same memory locat...

13년 초과 전 | 0

답변 있음
Simulink model -> executable file
I don't know a lot about these blocks, but it looks like the file name is a non-tunable parameter in both cases, which means tha...

13년 초과 전 | 1

답변 있음
Real-Time-Workshop access to Simulink Model
Ah. I see that you have probably configured Code Generation>Interface>Data exchange>Interface to "C API" on the Configuration Pa...

13년 초과 전 | 0

답변 있음
More than one output for level-2 S-function
If need to have two output ports, shouldn't you have: block.NumOutputPorts = 2; %you've set this to 1 Also, right after...

13년 초과 전 | 0

답변 있음
using C# functions in matlab
Is it a .NET library? If yes, see <http://www.mathworks.com/help/matlab/using-net-libraries-in-matlab.html Using .NET Libraries ...

13년 초과 전 | 2

답변 있음
Strange Error!..... Error while obtaining sizes from Mex-sfunction (in simulink)
S-functions are a special kind of MEX-function which have a <http://www.mathworks.com/help/simulink/sfg/example-of-a-basic-c-mex...

13년 초과 전 | 0

| 수락됨

답변 있음
Calling function from dll within C-MEX
If you're using 64-bit MATLAB, you might need to make sure that the DLL is also 64-bit - I believe the default configuration for...

13년 초과 전 | 0

| 수락됨

답변 있음
use s-function in the SimPowerSystems
I don't know a lot about the physical modeling domain on Simulink, but if you're trying to create your own SimScape-based compon...

13년 초과 전 | 0

답변 있음
how to change the reference of linked block..
I don't imagine that this would be allowed with a simple |set_param| command because it might mean that things could go wrong wi...

13년 초과 전 | 1

답변 있음
Can't shut down COM automation server instances of MATLAB
Does |servH(ix).Quit| pass for |ix=1| and fail thereafter? If yes, I wonder if you're calling the Quit method in a loop too quic...

13년 초과 전 | 0

답변 있음
TLC equivalent of find_system(...)
There is no equivalent of |find_system| in TLC, but you can write your own MATLAB helper function and call it using the <http://...

13년 초과 전 | 0

| 수락됨

답변 있음
codegen: can I use a Matlab global structure in a mex function created with codegen?
I wonder if you should do something like: function_2 %#codegen global S if isempty(S) S = struct ('a', 0); ...

13년 초과 전 | 0

답변 있음
Deploytool error while building
# You need to install and setup a C/C++ compiler because MATLAB Compiler generates C files that call into MATLAB runtime librari...

13년 초과 전 | 0

| 수락됨

답변 있음
Creating a TCP Server MEX file
I'm not sure if there is a workaround to this, since it looks like MATLAB Coder does not support the 'tcpip' class for code-gene...

13년 초과 전 | 0

| 수락됨

답변 있음
How to get the data.dat from target computer to host computer with XPC API function?
Looks like you need <http://www.mathworks.com/help/xpc/ref/xpctarget.ftp.getftp.html xpctarget.ftp.get>

13년 초과 전 | 0

더 보기