回答済み
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...

15年弱 前 | 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' ...

15年弱 前 | 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:...

15年弱 前 | 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...

15年弱 前 | 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...

15年弱 前 | 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.

15年弱 前 | 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...

15年弱 前 | 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...

15年弱 前 | 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...

15年弱 前 | 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://...

15年弱 前 | 0

回答済み
system - wget
Inside MATLAB, run: >> !printenv LD_LIBRARY_PATH or >> system('printenv LD_LIBRARY_PATH') and see if it matches the output...

15年弱 前 | 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...

15年弱 前 | 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...

15年弱 前 | 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...

15年弱 前 | 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....

15年弱 前 | 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...

15年弱 前 | 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...

15年弱 前 | 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...

15年弱 前 | 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...

15年弱 前 | 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...

15年弱 前 | 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...

15年弱 前 | 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...

15年弱 前 | 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...

15年弱 前 | 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...

15年弱 前 | 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 ...

15年弱 前 | 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...

15年弱 前 | 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...

15年弱 前 | 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...

15年弱 前 | 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 ...

15年弱 前 | 0

回答済み
Dereferencing bus signal in Stateflow
The <http://www.mathworks.com/help/toolbox/simulink/ug/bsocrb0.html#bsocre9 documentation> states: Stateflow action langua...

15年弱 前 | 0

| 採用済み

さらに読み込む