Respondida
How to write a function of a curve?
Hi, try an anonymous function. <http://www.mathworks.com/help/matlab/matlab_prog/anonymous-functions.html> So for examp...

más de 13 años hace | 2

| aceptada

Respondida
Anyone have Java implementation for Matlab functions?
Hi, this could be worth a shot: use MATLAB Coder to generate C code out of your MATLAB code. Then use some ARM compiler an...

más de 13 años hace | 1

| aceptada

Respondida
renaming files to easily read it in to matlab problematic
Hi, why renaming them? This is not needed. Use the dir command to get a struct array which contains also the filenames: ...

más de 13 años hace | 1

| aceptada

Respondida
How can I use visdiff correctly?
Hi, sounds like a messed up ML search path. Try running: restoredefaultpath; matlabrc After that try again. Normal...

más de 13 años hace | 1

| aceptada

Respondida
Structure declaration in Matlab
Hi, I dont have a MATLAB for testing at the moment but I guess the declaration should look like this: estruct = struct...

más de 13 años hace | 0

| aceptada

Respondida
How can I define which .Net framework shall a deployed MATLAB function use?
Hi, first of all this is expected behavior due some .NET Security Policies. The MCR load the 2.0 CLR which then needs to load...

más de 13 años hace | 2

| aceptada

Respondida
coder.ceval('printf',....) does not print a message instantaneously
Hi, as long you stay with mex you can do a mexEvalString("drawnow"); So a coder.ceval('mexEvalString', '"dr...

más de 13 años hace | 0

| aceptada

Respondida
How to deploy package that calls an external .m file
This wont work at all. MATLAB Compiler generated exe's can't read/use plain m files. The only way to have interchangeable dat...

más de 13 años hace | 0

| aceptada

Respondida
normalize a maatrix of 13 columns
Hi, I think this should do it: bsxfun(@rdivide,A,sqrt(sum(A.*A,1))) So looking at an easy example: A = [1 2 3;...

más de 13 años hace | 1

| aceptada

Respondida
Does setenv not set variables for MEX functions?
Hi, I think the following Microsoft statement should help here: "getenv and _putenv use the copy of the environment ...

más de 13 años hace | 4

| aceptada

Respondida
C# .NET Trouble initializing libraries required by Builder NE
Hi, normally one would create a .exe.config file with the same name as your application and put in the following lines: ...

más de 13 años hace | 1

| aceptada

Respondida
Time limit for the Exclamation Point — !
Hi, which OS are you on? On windows you can use activex and the WScript.Shell component to set a timeout and cancel the star...

más de 13 años hace | 0

| aceptada

Respondida
Forcing deploytool to include toolbox.
Hi, Simulink and all other Toolboxes which are based on Simulink can't be compiled with ML Compiler: <http://www.mathworks...

más de 13 años hace | 1

| aceptada

Respondida
Matlab Compiler - Invalid MEX-file for 'sqp' in optimization toolbox
Hi, @Kaustubha: very unlikely. If the function is missing you would get an unkown function error!!! Seems more like a miss...

más de 13 años hace | 2

| aceptada

Respondida
Binary to Signed decimal in MATLAB
Hi, can't you simply do the inverse way to get it back? Or am I missing something here? typecast(uint16(bin2dec('1000000...

casi 14 años hace | 2

| aceptada

Respondida
replicate values of a vector
Hi, try repmat: repmat(A,4,1) Or for the other direction: repmat(A,1,4) In the case you want it repeated lik...

casi 14 años hace | 0

| aceptada

Respondida
Excel help
Hi, at least this works fine for me: x = [2 6 7 13 27 100] xlswrite('test.xlsx',{num2str(x)}) [~,data] = xlsread...

casi 14 años hace | 0

| aceptada

Respondida
Mex Compiler Setup
Hi, VS 2008 Express isnt supported by 11b: <http://www.mathworks.com/support/compilers/R2011b/win32.html> So what did y...

casi 14 años hace | 1

| aceptada

Respondida
Please help!
Hi, please preallocate the output variables first, because the first appearance of nest is in a loop where you populate it, ...

casi 14 años hace | 0

| aceptada

Respondida
reading external data via com port or parallel port
Hi, have you tried the serial command? <http://www.mathworks.com/help/releases/R2012a/techdoc/ref/serial.html>

casi 14 años hace | 1

| aceptada

Respondida
mcc or standalone simulation error
Hi, this is a bug, see here for a workaround: <http://www.mathworks.com/support/bugreports/764094>

casi 14 años hace | 1

| aceptada

Respondida
extract numbers from string in a cell
Hi, you can use regexprep or some ascii value representation comparison to do so, e.g. a = {'TT21abc.def'}; %asci...

casi 14 años hace | 1

| aceptada

Respondida
Launch MCR in a C# code
Hi again, Since you have an installed MATLAB and working with C#, why arent you using COM directly? This makes it a way easie...

casi 14 años hace | 0

| aceptada

Respondida
Set Excel cell interior color to RGB value
Hi, try the following: rgb_val = @(r,g,b) r*1+g*256+b*256^2; WB.Worksheets.Item(1).Range('A2').Interior.Color = rgb_v...

casi 14 años hace | 0

| aceptada

Respondida
To translate TriScatteredInterp from Matlab to C# or C++
Hi, besides of that error message. Don't even try to generate a mex file from that code because TriScatteredInterp isn't supp...

casi 14 años hace | 1

| aceptada

Respondida
Make error because of MATLAB function block.
Hi, run mex -setup to choose a supported installed compiler ( <http://www.mathworks.com/support/compilers/R2011a/win32.html> ...

casi 14 años hace | 0

| aceptada

Respondida
executable form of m-file
Hi, you need the MATLAB Compiler for it: <http://www.mathworks.com/products/compiler/> Beware of the limitations: <h...

casi 14 años hace | 1

Respondida
MATLAB error in counting
Hi num2str is correct here, but the missing space after the 2 makes the result looking wrong, because the correct number 1537...

casi 14 años hace | 0

| aceptada

Respondida
How to get Tabpanel constructor v2.8 running?
Hi, seems like a small typo. Try tabpanel instead of panel with two a's.

casi 14 años hace | 1

Respondida
2012a Does Not Install
Hi, please contact the installation support from MathWorks. They will help you.

casi 14 años hace | 1

| aceptada

Cargar más