Community Profile

photo

Harsh

Last seen: 1 month ago Active since 2016

Statistics

All
  • Knowledgeable Level 3
  • First Review
  • Revival Level 1
  • Knowledgeable Level 2
  • First Answer
  • Commenter
  • Promoter
  • Solver

View badges

Content Feed

View by

Answered
Count worksheets in an excel workbook without using xlsfinfo
You can use sheetnames. >> sheets = sheetnames('patients.xls') sheets = 3×1 string array "Sheet1" "Sheet...

3 years ago | 0

| accepted

Answered
How to do i pull certain entries out of a table when another cell column meets a certain condition?
As an example you can try this: >> T = table([1:4]', {'string 1'; 'string 2'; '5'; '6'}, 'VariableNames', {'A', 'B'} ); >...

5 years ago | 0

Answered
Why does MATLAB Compiler give an error during packaging
There are several known causes for this error. Some potential things to check: # Is the .mlapp file somehow "locked" or quara...

5 years ago | 2

| accepted

Answered
Can Matlab Compiler package stand-alone apps that can read and write data to an Excel spreadsheet?
You can use MATLAB compiler to compile programs that read and write from an Excel. As Dennis mentioned, make sure the Excel exis...

5 years ago | 1

Answered
datastore and .mat files
You can use fileDatastore for .mat files. An example of this can be found in the doc <https://www.mathworks.com/help/matlab/ref/...

5 years ago | 0

Answered
How to combine multiple time spans in Matlab?
Not sure what your end goal is but if you'd like to bring the variables of the table together, you can try the following in addi...

5 years ago | 1

| accepted

Answered
How to use 'setvartype' to get the variable as 'datetime' formatted as: yyyy-MM-dd
One way is to change the _datetime_ defaults before importing. More on this is <https://www.mathworks.com/help/matlab/matlab_pro...

5 years ago | 1

| accepted

Answered
Combine detectImportOptions with datastore?
Sounds like you'd like to do the following: >> opts = detectImportOptions(file,'name',value...); % Optionally configure va...

5 years ago | 2

| accepted

Answered
using excel template to save results in
Without a concrete example of your intended goal, its a little hard to give an exact answer. However, going off of your descript...

5 years ago | 1

| accepted

Answered
Error in loading data from AWS S3
Make sure the s3 bucket actually exists and you are using the accurate internationalized resource identifier (IRI) of the form -...

5 years ago | 0

Answered
readtable error "Index exceeds array bounds." for Matlab 2018a
You can add a '.txt' extension to the file as 'initial_chem.txt' and then do the following in R2018a: >> opts = detectImpor...

5 years ago | 0

Answered
R2018a reopens excel after calling multiple readtable
On Windows, you can use the 'basic' flag of 'readtable' which will work without opening an instance of excel. More info on this ...

5 years ago | 1

| accepted

Answered
How to read all the .txt files in a folder and convert them to matrixes?
This is a good post to: <https://www.mathworks.com/matlabcentral/answers/57446-faq-how-can-i-process-a-sequence-of-files process...

5 years ago | 0

Answered
Standalone GUI application crashes with error and GUI python package closes immediately, does not stay open
It appears that the GUI was made using App Designer / Guide and relies on dependent files being present in the current directory...

6 years ago | 0

| accepted

Answered
how can i read a stack of images which are in .mat format into my matlab program
Here is a good answer with examples on processing a sequence of files in a loop: <https://www.mathworks.com/matlabcentral/answer...

6 years ago | 0

Answered
Application Compiler crashes when selecting main file on Windows 10 R2017a
One of the things you can try is to compile the application directly from the MATLAB command window rather than using the deploy...

6 years ago | 0

| accepted

Answered
edf to Matlab conversion?
<https://www.mathworks.com/matlabcentral/fileexchange/31900-edfread> From the link above, I was able to download and run the fu...

6 years ago | 0

Answered
Cursor location found much faster in mfile than in compiled exe. How to fix?
Based on your description of the issue, it appears that you are deploying a GUI that utilizes the .m file which finds the user's...

6 years ago | 1

| accepted

Answered
Capture video from multiple webcams simultaneously.
If the webcam object for the camera exposes the 'FrameRate' property, then you can try to configure the value to a desired and a...

6 years ago | 0

Answered
Uploading file to online server through Matlab code
This is possible using <https://en.wikipedia.org/wiki/File_Transfer_Protocol FTP>. After connecting to an FTP server by calling...

6 years ago | 0

Answered
Why Matlab is preferred over other model based development tools?
<https://www.mathworks.com/solutions/model-based-design.html Model-Based Design> The above link is a great resource to get st...

6 years ago | 0

Answered
Call "log" functions from c# through COM failed with exceptions.
Make sure the correct reference to mlapp.tlb is added in Visual Studio or any other IDE you are using. Also make sure that MATLA...

7 years ago | 0

Answered
Database Connection problem migrating sql query to Matlab 2017
On the MATLAB side of things, there have been no changes to the Database toolbox and connection to Microsoft SQL Server between ...

7 years ago | 0

| accepted

Answered
How to save point cloud data? (sfm)
Based on the example you referred to, the point cloud is an Object for storing a 3-D point cloud. For example the example uses t...

7 years ago | 0

Answered
Matlab 2016 parpool only connects to 1 worker
Make sure the Parallel Computing Toolbox is installed and licensed for use by running the following commands: <https://www.math...

7 years ago | 0

Answered
How to load RTLSDR from local directory with 2016b
I assume you are trying to install the support package: <https://www.mathworks.com/matlabcentral/fileexchange/44991-communicatio...

7 years ago | 0

Answered
whats wrong in the code may someone help me to get same answer as the example
If you still need help with this, please contact MathWorks Technical Support here: <https://www.mathworks.com/support/contact...

7 years ago | 0

Answered
Logarithmic colorscale ? Contourf, large range of value
Hello Cyril, If you still need help with this, please contact MathWorks Technical Support here: <https://www.mathworks.com/...

7 years ago | 0

| accepted

Answered
geotiffread and plot example leads to errors
Hello Paul, If you still need help with this, please contact MathWorks Technical Support here: <https://www.mathworks.com/...

7 years ago | 0

Answered
Error using griddedInterpolant. The grid vectors must contain unique points
Hello Nina, If you still need help with this, please contact MathWorks Technical Support here: <https://www.mathworks.com/...

7 years ago | 0

| accepted

Load more