Community Profile

photo

Michael


Northern Arizona University

Last seen: 2 Tage ago Active since 2013

Statistics

  • Revival Level 2
  • Knowledgeable Level 1
  • Thankful Level 3
  • First Answer

View badges

Content Feed

View by

Answered
Compatibility ros2node with Coder Generation
FYI for anyone in the future: A quick way to see how to use command line code generation if you are used to using the Coder App ...

2 Tage ago | 1

Question


How to Run a ROS2 Node Executable Generated by Coder?
I have a simple function that publishes to a ROS2 topic and I need this publisher to run as a separate process outside of Matlab...

3 Tage ago | 1 answer | 0

1

answer

Question


Compatibility ros2node with Coder Generation
According to the ros2node documentation, the function supports code generation with a one node per function limitation. When I t...

5 Tage ago | 2 answers | 0

2

answers

Question


ROS2 Bag Writer?
There appears to only be a rosbagwriter function for ROS log files but not ROS2 log files: https://www.mathworks.com/help/ros/...

11 Tage ago | 0 answers | 0

0

answers

Answered
Delete array elements with Coder compatibility
Figured out a solution. Redefine the string use logical indexing to select all but the element you want to exclude. myStr = myS...

3 Monate ago | 0

Question


Delete array elements with Coder compatibility
I need to delete elements of a string with compatibility for Coder. For example: myStr = 'This is a fun problem!' myStr(10) = ...

3 Monate ago | 2 answers | 0

2

answers

Answered
Timing for UDP Data Stream
@Gavin Grant This isn't quite what I was looking for, as I was trying to get execution synchronized with wall clock time. I real...

8 Monate ago | 1

| accepted

Question


Simulink Standalone Executable from Coder for Real-Time Execution
I need to receive UDP data in real time and do some light processing of the data (mixing and decimating). I eventually want to r...

8 Monate ago | 0 answers | 0

0

answers

Question


Signal types for dimension 8 vs [8 x 1] - what's the difference?
I appologize for such a simple questions, but I am in the process of learning Simulink. I am using the 'Information Overlay' to ...

8 Monate ago | 1 answer | 0

1

answer

Question


Timing for UDP Data Stream
I have a software defined radio that is streaming data over a network port at 192,000 Samples per second. I want to connect to t...

8 Monate ago | 2 answers | 0

2

answers

Answered
No log file generated for standalone app
I got a response back from Mathworks Support about this. In short, as suspected, there is an issue with file permissions in Find...

10 Monate ago | 0

| accepted

Question


No log file generated for standalone app
I am on macOS Catalina trying to deploy a standalone Matlab app using the application compliler. I am on R2020b. I check off t...

11 Monate ago | 1 answer | 0

1

answer

Question


Auto resize of manually added axes
I need to manually add axes to a figure, but I want the axes I add to automatically resize when I maximize/scale the figure wind...

11 Monate ago | 1 answer | 0

1

answer

Answered
Print an array of coordinates with 2 Arrays of Varriables.
Simple in Matlab X = [150 200 300 500]'; Y = [300 500 800 300]'; coords = [X,Y] coords = 150 300 200 500 ...

12 Monate ago | 0

| accepted

Answered
Matlab Coder support for object arrays
I believe this isn't possible. I think you have to use a cell array of the objects as a work around. See this answer: Limitati...

12 Monate ago | 0

Question


System Object Variable Size Tuneable Properties
I am new to system objects, but need to develop one to do some stream processing of incoming data. Part of the algorithm I am de...

etwa ein Jahr ago | 1 answer | 0

1

answer

Answered
How to 3D plot a circle with radius of 1 in x y and sine wave in z?
Try this: %Position of center of chip in 3D space x0 = 1; y0 = 1; z0 = 1; r = 1;%Radius of chip d_theta = 2*pi/60; %Diff...

etwa ein Jahr ago | 2

| accepted

Answered
The 'matlab.mixin.Copyable' class does not support code generation.
I got around this by creating a 'copy' method for my class. Here is a simple example. classdef myobj < handle % used to be mat...

etwa ein Jahr ago | 0

Question


Custom object class array initilization within Simulink Matlab Function Block
The summary of my question is I need know how to preallocate an array of custom objects in a way that is compatible with Simulin...

etwa ein Jahr ago | 1 answer | 0

1

answer

Answered
Create a new array by summing the columns of old array
By calling up the matrix elements using their linear indices and skipping by the number of rows in your matrix you can do what y...

mehr als ein Jahr ago | 0

Answered
Adding transparency to a contour plot
My understanding is that this isn't supported. In the past I have done a surface plot, changed the transparancy, and then change...

mehr als ein Jahr ago | 0

Answered
Make transparent contourf plot
One work around is to plot a surface and change the view. Here is an example data = rand(100,100); surf(data,'EdgeColor','None...

mehr als ein Jahr ago | 0

Question


Livescipt Potential Bug: Can't add code, sections, etc. Only text.
I am running Matlab R2020b on a macOS Catalina. I have had this problem a couple of times now with my Livescripts. I will be wor...

mehr als ein Jahr ago | 1 answer | 0

1

answer

Question


Arrays from object properties within object arrays
I want to know if there is an efficent way to extract an array of values from properties of objects in an object array. Let's sa...

etwa 2 Jahre ago | 1 answer | 0

1

answer

Question


Live Script Compatibility with Matlab Mobile
I have a live script I uploaded to Matlab Online and I can see it in Matlab mobile, but it is grayed out and I can't run it. Thi...

etwa 2 Jahre ago | 1 answer | 0

1

answer

Answered
Why does the app not resize properly for different screen resolutions in App Designer?
I know this isn't exactly what you are looking for, but I was having a similar problem and recently discovered the 'Scrollable' ...

fast 3 Jahre ago | 5

Question


App Designer Reflow of Items within Tabs
I have a tab group that is my highest level of organization in my app. Within each tab, I have a series of panels that I would l...

fast 3 Jahre ago | 2 answers | 1

2

answers

Question


Performance difference for plotting direction?
I found a very odd behavior that I'd like some help on. When plotting large vectors in matlab, there appears to be a MAJOR perfo...

fast 3 Jahre ago | 0 answers | 0

0

answers

Answered
Unable to create a standalone application.
I had this problem as well with the following error: Update resource failed: 110 Failed to create the web based instal...

fast 3 Jahre ago | 0

Answered
Read UDP packets asynchronously from Simulink in MATLAB
I belive you need to use the function handle for myfunction u = udp('127.0.0.1', 25000); u.ReadAsyncMode = 'continuous'; fope...

fast 3 Jahre ago | 0

Load more