답변 있음
Sending a floating value from simulink model to workspace
See <http://www.mathworks.com/help/toolbox/simulink/ug/f13-92122.html Accessing Block Data During Simulation>. There is also a g...

14년 초과 전 | 0

답변 있음
Detecting new COM port created by USB-serial convertor
Are you able to use the SERIAL command to open the port? s = serial('COM4'); fopen(s) %s.Status should be 'open' ...

14년 초과 전 | 0

답변 있음
run simulink model from visual studio GUI
You can start MATLAB as a <http://www.mathworks.com/help/techdoc/matlab_external/brd0v3w.html COM server> and execute the <http:...

14년 초과 전 | 0

| 수락됨

답변 있음
Avoid using the built-in libs
Note that MEX files are actually DLLs (with a slightly different extension). AFAIK, the standard behavior on Windows machines is...

14년 초과 전 | 0

답변 있음
Transfer of Fcn Block between Simulink and MATLAB
If you are using the <http://www.mathworks.com/help/toolbox/simulink/slref/fcn.html Fcn> block, you can simply change the settin...

14년 초과 전 | 2

| 수락됨

답변 있음
How to use the Simulink Realtime Workshop?
It looks like you need the <http://www.mathworks.com/help/toolbox/simulink/slref/unitdelay.html Unit Delay> block.

14년 초과 전 | 0

답변 있음
Explain this error?
The error message is fairly explanatory, but I can imagine that it could be confusing if you don't understand some of the termin...

14년 초과 전 | 0

답변 있음
Interface matlab/simulink into a circuit
You can use any hardware that supports an ANSI C compiler. See my previous answer here for information about generating C code f...

14년 초과 전 | 1

답변 있음
Calling/Conversion of image processing in M-file to Simulink
As far as I know, the <http://www.xilinx.com/tools/sysgen.htm System Generator> software can generate HDL code only from the Sim...

14년 초과 전 | 1

| 수락됨

답변 있음
Speech recognition for attendance
If you are willing to use existing libraries and are developing on Windows, you should be able to take advantage of the <http://...

14년 초과 전 | 0

답변 있음
system - wget
Inside MATLAB, run: >> !printenv LD_LIBRARY_PATH or >> system('printenv LD_LIBRARY_PATH') and see if it matches the output...

14년 초과 전 | 0

답변 있음
Simulink - Speeding up
I hesitate to provide a simple answer to this, but here is goes anyway. Almost all Simulink library blocks are either impleme...

14년 초과 전 | 0

답변 있음
Simulink - Embedded Matlab - Usable functions
1. Yes, you are right that the speed of execution of the Embedded MATLAB block depends on whether you are calling un-supported M...

14년 초과 전 | 0

답변 있음
Linking Simulink to Bladed
I don't have experience with Bladed, but I do agree that option#1 is more straight-forward and likely to cause fewer issues (lik...

14년 초과 전 | 0

| 수락됨

답변 있음
MATLAB .exe distributable with pcode (*.p) file
MATLAB Compiler finds all *.m, *.p, MEX-files, etc. that your application calls, and packages them into a <http://www.mathworks....

14년 초과 전 | 0

| 수락됨

답변 있음
pass a parameter to a masked subsystem
You can set some initial values on the variables from the Initialization pane, but I think the right place for you to put the co...

14년 초과 전 | 0

답변 있음
MWMCR exception - Attempted to read or write protected memory.
Have you copied mclmcrrt7x.dll to a location outside of the MCR installation directory? It looks like that could cause this erro...

14년 초과 전 | 1

답변 있음
Simulink progress from command line
I don't know of a public API that you can use to query the progress of simulation, but if you're familiar with C-MEX S-functions...

14년 초과 전 | 1

답변 있음
mex, mwblas, and multithreading: controlling the number of threads
From what I understand, the choice needs to be made at MATLAB startup. Starting MATLAB with the -singleCompThread option will fo...

14년 초과 전 | 0

답변 있음
is there any where to convert an matlab algorithm to working on my microcontroller?
What kind of Simulink block is it? Double-click on the block to see whether it opens up an Editor (in which case, you can genera...

14년 초과 전 | 0

답변 있음
debugging a mex file with eclipse cdt
Strange - I don't know why attaching the MATLAB process to Eclipse should hang MATLAB - especially because you seem to have done...

14년 초과 전 | 0

답변 있음
Stream Data File using System Objects
I don't see a System object to read/write from files either, but I found this demo: <http://www.mathworks.com/products/dsp-syste...

14년 초과 전 | 1

| 수락됨

답변 있음
Quanser+Simulink Real-time workshop, triggered save to host computer.
What version of MATLAB are you using? At least in the latest release, it appears possible to select individual signals for trigg...

14년 초과 전 | 0

| 수락됨

답변 있음
Fortran 10.0.026
Each MATLAB release supports only a limited set of compilers. It is likely that your release only supports v9.0. Find the comple...

14년 초과 전 | 0

답변 있음
Display output using micro-controller block in simulation
# Are you going to directly connect your display to your host/PC machine? If so, what type of interface will you use? # If you ...

14년 초과 전 | 2

| 수락됨

답변 있음
Via COM bridge of Matlab - getting Matlab structs
I can't imagine that deferencing a structure element via GetCharArray or GetVariable is possible. You are effectively looking fo...

14년 초과 전 | 0

답변 있음
error mex compiler
Are you on 64-bit MATLAB? If yes, you may not have installed x64 compilers for Visual Studio. See <http://www.mathworks.com/supp...

14년 초과 전 | 1

답변 있음
How to check if a key is pressed in each iteration in simulink?
I don't think this functionality is available in MATLAB, but you should be able to find an OS-specific API in C/C++ that lets yo...

14년 초과 전 | 0

| 수락됨

답변 있음
Recording a GUI from simulink
Do you mean that you want to capture some plot from your GUI to a video file? Then using the functions getframe and addframe in ...

14년 초과 전 | 0

답변 있음
Dereferencing bus signal in Stateflow
The <http://www.mathworks.com/help/toolbox/simulink/ug/bsocrb0.html#bsocre9 documentation> states: Stateflow action langua...

14년 초과 전 | 0

| 수락됨

더 보기