답변 있음
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...

거의 14년 전 | 2

| 수락됨

답변 있음
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...

거의 14년 전 | 1

| 수락됨

답변 있음
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: ...

거의 14년 전 | 1

| 수락됨

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

거의 14년 전 | 1

| 수락됨

답변 있음
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...

거의 14년 전 | 0

| 수락됨

답변 있음
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...

거의 14년 전 | 2

| 수락됨

답변 있음
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...

거의 14년 전 | 0

| 수락됨

답변 있음
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...

거의 14년 전 | 0

| 수락됨

답변 있음
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;...

거의 14년 전 | 1

| 수락됨

답변 있음
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 ...

거의 14년 전 | 4

| 수락됨

답변 있음
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: ...

거의 14년 전 | 1

| 수락됨

답변 있음
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...

거의 14년 전 | 0

| 수락됨

답변 있음
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...

거의 14년 전 | 1

| 수락됨

답변 있음
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...

대략 14년 전 | 2

| 수락됨

답변 있음
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...

대략 14년 전 | 2

| 수락됨

답변 있음
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...

대략 14년 전 | 0

| 수락됨

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

대략 14년 전 | 0

| 수락됨

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

대략 14년 전 | 1

| 수락됨

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

대략 14년 전 | 0

| 수락됨

답변 있음
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>

대략 14년 전 | 1

| 수락됨

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

대략 14년 전 | 1

| 수락됨

답변 있음
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...

대략 14년 전 | 1

| 수락됨

답변 있음
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...

대략 14년 전 | 0

| 수락됨

답변 있음
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...

대략 14년 전 | 0

| 수락됨

답변 있음
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...

14년 초과 전 | 1

| 수락됨

답변 있음
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> ...

14년 초과 전 | 0

| 수락됨

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

14년 초과 전 | 1

답변 있음
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...

14년 초과 전 | 0

| 수락됨

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

14년 초과 전 | 1

답변 있음
2012a Does Not Install
Hi, please contact the installation support from MathWorks. They will help you.

14년 초과 전 | 1

| 수락됨

더 보기