Answered

getting string from the command window output

Thanks Jason, but when I do that and texts can result then use str2double to get the value I need it return NaN. I'm guessing be...

getting string from the command window output

Thanks Jason, but when I do that and texts can result then use str2double to get the value I need it return NaN. I'm guessing be...

ongeveer 11 jaar ago | 0

Question

getting string from the command window output

Im a bit curious about this. I have a c++ .exe file that I call in matlab using system('command')and pass an input file (input.t...

ongeveer 11 jaar ago | 6 answers | 1

Question

Can I have Matlab read and check my user input form the keyboard and then write that input to a file?

Hey guys, I am working on a project that I want to get the input from the user but I can never have matlab check for the spe...

ongeveer 11 jaar ago | 1 answer | 0

Question

Read strings from a text file and pass it to variables

I have this code in matlab that seems to read the content of my file fid = fopen('file.txt'); tline = fgets(fid); while i...

meer dan 11 jaar ago | 2 answers | 0

Answered

Does Matlab support strcpy?

I want to copy a string from a file. While(fgets(line ,size of line, file)!=NULL) strcpy(array, line). But in Matlab I chan...

Does Matlab support strcpy?

I want to copy a string from a file. While(fgets(line ,size of line, file)!=NULL) strcpy(array, line). But in Matlab I chan...

meer dan 11 jaar ago | 0

Question

Does Matlab support strcpy?

I was just wondering if Matlab support strcpy. In writing a program and I want to cot a string and I was wondering if I could us...

meer dan 11 jaar ago | 4 answers | 0

Question

Matlab function Will not work

Hey guys, I have a function I'm creating and u want to assign values to the input but so far it's working. Function |myname=my...

meer dan 11 jaar ago | 3 answers | 0

Question

.exe file user input promt doesn't print in Matlab command window

Hello, I am in need of some help. I am trying to call this C++.exefile through Matlab using system('command'). When I c...

meer dan 11 jaar ago | 1 answer | 0

Question

Matlab is not running my C++ exe file

Please do not refer me to another link or page. I am looking for a more accurate answer to my question. I have been working wi...

meer dan 11 jaar ago | 1 answer | 0

Answered

Why does Matlab mex does not have a day type like scanf

Walter Robertson, And Jan Simon That mexCallMATLAB(1,&num.....) does not seem to take any characters. It creates an error st...

Why does Matlab mex does not have a day type like scanf

Walter Robertson, And Jan Simon That mexCallMATLAB(1,&num.....) does not seem to take any characters. It creates an error st...

meer dan 11 jaar ago | 0

Question

Why does Matlab mex does not have a day type like scanf

Here's my problem, I have a c++ code that I'm compiling in mex and so far it's doing great. But it's supposed to take different ...

meer dan 11 jaar ago | 3 answers | 0

Question

Matlab will not compile my C++ .exe file

I have program in C++ that runs great but it has different steps in it. It opens a file first then does some calculations...

meer dan 11 jaar ago | 2 answers | 0

Answered

Reading and ploting a notepad txt file on Matlab

Never mind I fixed it. Thanks for the help but I went with a different approach

Reading and ploting a notepad txt file on Matlab

Never mind I fixed it. Thanks for the help but I went with a different approach

meer dan 11 jaar ago | 0

Answered

Reading and ploting a notepad txt file on Matlab

And how do you comment the first line, because before i took the first line out by using fget(fid) is there another way with you...

Reading and ploting a notepad txt file on Matlab

And how do you comment the first line, because before i took the first line out by using fget(fid) is there another way with you...

meer dan 11 jaar ago | 0

Answered

Reading and ploting a notepad txt file on Matlab

That did not work at all because the file is tab delimited. and I want to plot the time column to the volt column and so on..

Reading and ploting a notepad txt file on Matlab

That did not work at all because the file is tab delimited. and I want to plot the time column to the volt column and so on..

meer dan 11 jaar ago | 0

Question

Reading and ploting a notepad txt file on Matlab

I am trying to get the my data read through Matlab and then plot it. but with my code using fscanf and/or textscan the file is b...

meer dan 11 jaar ago | 4 answers | 0