Réponse apportée
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...

plus de 13 ans il y a | 0

| A accepté

Réponse apportée
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...

plus de 13 ans il y a | 2

| A accepté

Réponse apportée
How can i play sound from Simulink???
Try the <http://www.mathworks.com/help/matlab/ref/sound.html SOUND> function.

plus de 13 ans il y a | 0

Réponse apportée
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...

plus de 13 ans il y a | 0

| A accepté

Réponse apportée
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...

plus de 13 ans il y a | 1

Réponse apportée
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...

plus de 13 ans il y a | 0

Réponse apportée
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...

plus de 13 ans il y a | 0

Réponse apportée
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...

plus de 13 ans il y a | 0

| A accepté

Réponse apportée
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...

plus de 13 ans il y a | 0

| A accepté

Réponse apportée
Matlab type mismatch in Embedded Matlab Functions
Please see Alexander's answer on <http://www.mathworks.com/matlabcentral/answers/12071 this previously answered question>.

plus de 13 ans il y a | 0

Réponse apportée
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>?

plus de 13 ans il y a | 0

Réponse apportée
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>.

plus de 13 ans il y a | 0

Réponse apportée
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...

plus de 13 ans il y a | 1

| A accepté

Réponse apportée
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 ...

plus de 13 ans il y a | 1

| A accepté

Réponse apportée
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....

plus de 13 ans il y a | 0

| A accepté

Réponse apportée
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...

plus de 13 ans il y a | 0

Réponse apportée
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...

plus de 13 ans il y a | 1

Réponse apportée
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...

plus de 13 ans il y a | 0

Réponse apportée
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...

plus de 13 ans il y a | 0

Réponse apportée
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 ...

plus de 13 ans il y a | 2

Réponse apportée
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...

plus de 13 ans il y a | 0

| A accepté

Réponse apportée
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...

plus de 13 ans il y a | 0

| A accepté

Réponse apportée
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...

plus de 13 ans il y a | 0

Réponse apportée
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...

plus de 13 ans il y a | 1

Réponse apportée
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...

plus de 13 ans il y a | 0

Réponse apportée
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://...

plus de 13 ans il y a | 0

| A accepté

Réponse apportée
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); ...

plus de 13 ans il y a | 0

Réponse apportée
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...

plus de 13 ans il y a | 0

| A accepté

Réponse apportée
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...

plus de 13 ans il y a | 0

| A accepté

Réponse apportée
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>

plus de 13 ans il y a | 0

Charger plus