Tag Archives: matlab
Request for Cancellation of Full Toolbox Tutorial and Reversion to Original Trial State
Dear MathWorks Support Team,
I am writing to request the cancellation of the full toolbox tutorial package to which I unintentionally enrolled. I had intended to access a specific toolbox tutorial but mistakenly received access to the tutorials for all available toolboxes. I have not used or installed any of the toolboxes, and I would like to discontinue access to the full tutorial package and have my account reverted to its original trial state.
For your reference, my account details are as follows:
Email Address: jaesung.park@aceworks.ai
Thank you for your prompt attention to this matter. I look forward to your response.
Best regards,
Jaesung ParkDear MathWorks Support Team,
I am writing to request the cancellation of the full toolbox tutorial package to which I unintentionally enrolled. I had intended to access a specific toolbox tutorial but mistakenly received access to the tutorials for all available toolboxes. I have not used or installed any of the toolboxes, and I would like to discontinue access to the full tutorial package and have my account reverted to its original trial state.
For your reference, my account details are as follows:
Email Address: jaesung.park@aceworks.ai
Thank you for your prompt attention to this matter. I look forward to your response.
Best regards,
Jaesung Park Dear MathWorks Support Team,
I am writing to request the cancellation of the full toolbox tutorial package to which I unintentionally enrolled. I had intended to access a specific toolbox tutorial but mistakenly received access to the tutorials for all available toolboxes. I have not used or installed any of the toolboxes, and I would like to discontinue access to the full tutorial package and have my account reverted to its original trial state.
For your reference, my account details are as follows:
Email Address: jaesung.park@aceworks.ai
Thank you for your prompt attention to this matter. I look forward to your response.
Best regards,
Jaesung Park toolbox, trials MATLAB Answers — New Questions
Avoiding -0.0000 as an output
Hello. I have the following script for differentiation and for some functions (e.g. f(x) = x) I get f”'(1) and f””(1) equal to -0.0000. How can i avoid the minus sign when the reasult is zero ?
clear all, clc, format long e
f = @(x) x; %input(‘Enter f(x) = ‘);
x = 1; %input(‘Enter point: x = ‘);
tol = 1e-1; %input(‘Enter tolerance: ‘);
f3 = feval(f,x);
h = tol*f3;
f0 = feval(f,x-3*h);
f1 = feval(f,x-2*h);
f2 = feval(f,x-1*h);
f4 = feval(f,x+1*h);
f5 = feval(f,x+2*h);
f6 = feval(f,x+3*h);
d1f = (f1-8*f2+8*f4-f5)/12/h;
d2f = (-f1+16*f2-30*f3+16*f4-f5)/12/h^2;
d3f = (f0-8*f1+13*f2-13*f4+8*f5-f6)/8/h^3;
d4f = (-f0+12*f1-39*f2+56*f3-39*f4+12*f5-f6)/6/h^4;
p = [d1f;d2f;d3f;d4f];
fprintf(‘nFirst derivative at x = %f:tf”(%g) = %fn’,x,x,d1f);
fprintf(‘nSecond derivative at x = %f:tf””(%g) = %fn’,x,x,d2f);
fprintf(‘nThird derivative at x = %f:tf”””(%g) = %fn’,x,x,d3f);
fprintf(‘nFourth derivative at x = %f:tf””””(%g) = %fn’,x,x,d4f);Hello. I have the following script for differentiation and for some functions (e.g. f(x) = x) I get f”'(1) and f””(1) equal to -0.0000. How can i avoid the minus sign when the reasult is zero ?
clear all, clc, format long e
f = @(x) x; %input(‘Enter f(x) = ‘);
x = 1; %input(‘Enter point: x = ‘);
tol = 1e-1; %input(‘Enter tolerance: ‘);
f3 = feval(f,x);
h = tol*f3;
f0 = feval(f,x-3*h);
f1 = feval(f,x-2*h);
f2 = feval(f,x-1*h);
f4 = feval(f,x+1*h);
f5 = feval(f,x+2*h);
f6 = feval(f,x+3*h);
d1f = (f1-8*f2+8*f4-f5)/12/h;
d2f = (-f1+16*f2-30*f3+16*f4-f5)/12/h^2;
d3f = (f0-8*f1+13*f2-13*f4+8*f5-f6)/8/h^3;
d4f = (-f0+12*f1-39*f2+56*f3-39*f4+12*f5-f6)/6/h^4;
p = [d1f;d2f;d3f;d4f];
fprintf(‘nFirst derivative at x = %f:tf”(%g) = %fn’,x,x,d1f);
fprintf(‘nSecond derivative at x = %f:tf””(%g) = %fn’,x,x,d2f);
fprintf(‘nThird derivative at x = %f:tf”””(%g) = %fn’,x,x,d3f);
fprintf(‘nFourth derivative at x = %f:tf””””(%g) = %fn’,x,x,d4f); Hello. I have the following script for differentiation and for some functions (e.g. f(x) = x) I get f”'(1) and f””(1) equal to -0.0000. How can i avoid the minus sign when the reasult is zero ?
clear all, clc, format long e
f = @(x) x; %input(‘Enter f(x) = ‘);
x = 1; %input(‘Enter point: x = ‘);
tol = 1e-1; %input(‘Enter tolerance: ‘);
f3 = feval(f,x);
h = tol*f3;
f0 = feval(f,x-3*h);
f1 = feval(f,x-2*h);
f2 = feval(f,x-1*h);
f4 = feval(f,x+1*h);
f5 = feval(f,x+2*h);
f6 = feval(f,x+3*h);
d1f = (f1-8*f2+8*f4-f5)/12/h;
d2f = (-f1+16*f2-30*f3+16*f4-f5)/12/h^2;
d3f = (f0-8*f1+13*f2-13*f4+8*f5-f6)/8/h^3;
d4f = (-f0+12*f1-39*f2+56*f3-39*f4+12*f5-f6)/6/h^4;
p = [d1f;d2f;d3f;d4f];
fprintf(‘nFirst derivative at x = %f:tf”(%g) = %fn’,x,x,d1f);
fprintf(‘nSecond derivative at x = %f:tf””(%g) = %fn’,x,x,d2f);
fprintf(‘nThird derivative at x = %f:tf”””(%g) = %fn’,x,x,d3f);
fprintf(‘nFourth derivative at x = %f:tf””””(%g) = %fn’,x,x,d4f); derivatives, differentiation, avoid minus sing when equal to zero MATLAB Answers — New Questions
How to pass pointer arguments in Simulink for auto-generated code?
The Simulink code generator generates call by reference functions but uses global variables. I need to make a reusable susbsystem which can accept different data store inputs similar to a call by reference implementation in C. How should I proceed?
Referenced subsystem block
Referenced subsystem callThe Simulink code generator generates call by reference functions but uses global variables. I need to make a reusable susbsystem which can accept different data store inputs similar to a call by reference implementation in C. How should I proceed?
Referenced subsystem block
Referenced subsystem call The Simulink code generator generates call by reference functions but uses global variables. I need to make a reusable susbsystem which can accept different data store inputs similar to a call by reference implementation in C. How should I proceed?
Referenced subsystem block
Referenced subsystem call embedded coder, simulink, code generation, pointers, call by reference, model reference, reusable blocks MATLAB Answers — New Questions
What are these blocks/components on simulink?
I am not that familiar yet with simulink. What are these blocks/components? How do I input x(n), b and y(n)? are there separate components from the library for these?
By the way, we were asked to "perform the given operations on the block on the signal" I am given the value of signal x(n) = [ 1 2 3 6 -4 7 -4 9] and also the values of b1, b2, b3.I am not that familiar yet with simulink. What are these blocks/components? How do I input x(n), b and y(n)? are there separate components from the library for these?
By the way, we were asked to "perform the given operations on the block on the signal" I am given the value of signal x(n) = [ 1 2 3 6 -4 7 -4 9] and also the values of b1, b2, b3. I am not that familiar yet with simulink. What are these blocks/components? How do I input x(n), b and y(n)? are there separate components from the library for these?
By the way, we were asked to "perform the given operations on the block on the signal" I am given the value of signal x(n) = [ 1 2 3 6 -4 7 -4 9] and also the values of b1, b2, b3. simulink MATLAB Answers — New Questions
Can I reference models with masks in variant ModelReference?
Can a variant ModelReference be used with Models that define masks in R2017b?
I have tried this for a pair of models with identical Parameter and mask sets and found no joy. The simulation appears to simply to ignore the model argument values specified for the variants in the Block Parameters Dialog and simply use those via the mask for the currently selected variant.
Worse, switching variant via Variant Manager etc resets the Parameter settings to the mask Defaults.Can a variant ModelReference be used with Models that define masks in R2017b?
I have tried this for a pair of models with identical Parameter and mask sets and found no joy. The simulation appears to simply to ignore the model argument values specified for the variants in the Block Parameters Dialog and simply use those via the mask for the currently selected variant.
Worse, switching variant via Variant Manager etc resets the Parameter settings to the mask Defaults. Can a variant ModelReference be used with Models that define masks in R2017b?
I have tried this for a pair of models with identical Parameter and mask sets and found no joy. The simulation appears to simply to ignore the model argument values specified for the variants in the Block Parameters Dialog and simply use those via the mask for the currently selected variant.
Worse, switching variant via Variant Manager etc resets the Parameter settings to the mask Defaults. modelreference, mask parameters MATLAB Answers — New Questions
Where do the CHECKIN and CHECKOUT lines in lmgrd.dl come from?
I see a lot of CHECKIN and CHECKOUT lines in the lmgrd.dl file always together with the well known IN and OUT lines coming from FlexLM. Are the CHECKIN / CHECKOUTS from MATLAB process? (MLM) ?I see a lot of CHECKIN and CHECKOUT lines in the lmgrd.dl file always together with the well known IN and OUT lines coming from FlexLM. Are the CHECKIN / CHECKOUTS from MATLAB process? (MLM) ? I see a lot of CHECKIN and CHECKOUT lines in the lmgrd.dl file always together with the well known IN and OUT lines coming from FlexLM. Are the CHECKIN / CHECKOUTS from MATLAB process? (MLM) ? flexlm, matlab MATLAB Answers — New Questions
solve symbolic eigenvalue problem
Hello everyone,
I have a system of linear equations in the following form: AX=BX
where matrix A is constructed from values of the parameter a,
and matrix B consists of eigenvalues.
Each eigenvalue solution should be dependent on a.
I want to find, for each eigenvalue, the smallest value and the corresponding aaa that satisfies it.
I attempted to solve this using the syms and eigs functions but was unsuccessful.
My main difficulty lies in defining symbolic parameters and then using them after solving for the eigenvalues.Hello everyone,
I have a system of linear equations in the following form: AX=BX
where matrix A is constructed from values of the parameter a,
and matrix B consists of eigenvalues.
Each eigenvalue solution should be dependent on a.
I want to find, for each eigenvalue, the smallest value and the corresponding aaa that satisfies it.
I attempted to solve this using the syms and eigs functions but was unsuccessful.
My main difficulty lies in defining symbolic parameters and then using them after solving for the eigenvalues. Hello everyone,
I have a system of linear equations in the following form: AX=BX
where matrix A is constructed from values of the parameter a,
and matrix B consists of eigenvalues.
Each eigenvalue solution should be dependent on a.
I want to find, for each eigenvalue, the smallest value and the corresponding aaa that satisfies it.
I attempted to solve this using the syms and eigs functions but was unsuccessful.
My main difficulty lies in defining symbolic parameters and then using them after solving for the eigenvalues. symbolic, eigenvalues MATLAB Answers — New Questions
How to tune two PID controllers that is series connected for Furuta pendulum
Hi
I am trying to tune two tune two PID controlers series for the Furuta pendulum or rotatry inverted pendulum any suggestions ?
Is it possible to do automatic?Hi
I am trying to tune two tune two PID controlers series for the Furuta pendulum or rotatry inverted pendulum any suggestions ?
Is it possible to do automatic? Hi
I am trying to tune two tune two PID controlers series for the Furuta pendulum or rotatry inverted pendulum any suggestions ?
Is it possible to do automatic? pid, tuning, simulink, furuta pendulum MATLAB Answers — New Questions
how to set nominal values in model predictive controller using scripts?
Hello,
so i have this code, and i need to set nominal values for manipulated variables, however i am keep getting an error,
% Set the nominal values in the controller.
x = [25; 50; 0];
u = [-10; 0; -5];
nlobj.Model.Nominal = (‘X’,x,’U’,u); % the error is for this one;
if i add only the first two lines, will the controller take as nominal values for inputs and states?;
nlobj = nlmpc(3,2,’MV’,[1 2 3],’MD’,[4 5]);Hello,
so i have this code, and i need to set nominal values for manipulated variables, however i am keep getting an error,
% Set the nominal values in the controller.
x = [25; 50; 0];
u = [-10; 0; -5];
nlobj.Model.Nominal = (‘X’,x,’U’,u); % the error is for this one;
if i add only the first two lines, will the controller take as nominal values for inputs and states?;
nlobj = nlmpc(3,2,’MV’,[1 2 3],’MD’,[4 5]); Hello,
so i have this code, and i need to set nominal values for manipulated variables, however i am keep getting an error,
% Set the nominal values in the controller.
x = [25; 50; 0];
u = [-10; 0; -5];
nlobj.Model.Nominal = (‘X’,x,’U’,u); % the error is for this one;
if i add only the first two lines, will the controller take as nominal values for inputs and states?;
nlobj = nlmpc(3,2,’MV’,[1 2 3],’MD’,[4 5]); model predictive controller, matlab compiler, simulink, scripts MATLAB Answers — New Questions
In ULA monopulse, i can’t find sum beam and difference beam
clc; clear all; close all;
% Transmitted signal
f = 3e8; %[Hz]
c = 3e8;
lambda = c/f;
N = 10; %number of element
theta = -89:0.05:89;
theta_0 = 0;
d = lambda / 2;
Nx = 10;
theta_steering = 5; % steering 각도 +-5
at = exp(1j*2*(0:N-1)’*pi*d/lambda*sind((theta)/2));
w_left = exp(-1j*2*(0:N-1)’*pi*d/lambda*sind((theta_0)-(theta_steering)));
w_right = exp(-1j*2*(0:N-1)’*pi*d/lambda*sind((theta_0)+(theta_steering)));
Beam_left = w_left.*exp(1j*2*(0:N-1)’*pi*d/lambda*sind((theta)));
Beam_right = w_right.*exp(1j*2*(0:N-1)’*pi*d/lambda*sind((theta)));
Beam_left2 = sum(Beam_left,1);
Beam_left3 = abs(Beam_left2/max(Beam_left2));
Beam_right2 = sum(Beam_right,1);
Beam_right3 = abs(Beam_right2/max(Beam_right2));
figure(2)
plot(theta,20*log10((Beam_left3)))
hold on
plot(theta,20*log10((Beam_right3)))
xlim([-90 90])
ylim([-50 0])
xlabel("theta")
grid on
xlabel("theta")
ylabel("Normalized Pattern [dB]")
title("left beam and right beam of amplitude comparison monopulse")
legend(‘left beam’,’right beam’)
%% sum & difference
w_sum = w_left + w_right;
w_diff = w_left – w_right;
Beam_sum = Beam_left + Beam_right;
Beam_sum2 = sum(Beam_sum, 1);
Beam_sum3 = abs(Beam_sum2/max(Beam_sum2));
Beam_diff = Beam_left – Beam_right;
Beam_diff2 = sum(Beam_diff,1);
Beam_diff3 = abs(Beam_diff2/max(Beam_diff2));
figure(3)
plot(theta,20*log10((Beam_sum3)))
hold on
plot(theta,20*log10((Beam_diff3)))
xlim([-90 90])
ylim([-30 0])
xlabel("theta")
grid on
xlabel("theta")
ylabel("Normalized Pattern [dB]")
title("sum and difference beam pattern in dB")
legend(‘sum beam’,’difference beam’)
%% error voltage
% err_vol = real((w_diff.’*p_th2)./(w_sum.’*p_th2));
% err_vol = sum(err_vol,1);
in this code , left beam and right beam is correct?
this case i think sum beam and diffence beam figure is needed to exchange but i can’t find error in this codeclc; clear all; close all;
% Transmitted signal
f = 3e8; %[Hz]
c = 3e8;
lambda = c/f;
N = 10; %number of element
theta = -89:0.05:89;
theta_0 = 0;
d = lambda / 2;
Nx = 10;
theta_steering = 5; % steering 각도 +-5
at = exp(1j*2*(0:N-1)’*pi*d/lambda*sind((theta)/2));
w_left = exp(-1j*2*(0:N-1)’*pi*d/lambda*sind((theta_0)-(theta_steering)));
w_right = exp(-1j*2*(0:N-1)’*pi*d/lambda*sind((theta_0)+(theta_steering)));
Beam_left = w_left.*exp(1j*2*(0:N-1)’*pi*d/lambda*sind((theta)));
Beam_right = w_right.*exp(1j*2*(0:N-1)’*pi*d/lambda*sind((theta)));
Beam_left2 = sum(Beam_left,1);
Beam_left3 = abs(Beam_left2/max(Beam_left2));
Beam_right2 = sum(Beam_right,1);
Beam_right3 = abs(Beam_right2/max(Beam_right2));
figure(2)
plot(theta,20*log10((Beam_left3)))
hold on
plot(theta,20*log10((Beam_right3)))
xlim([-90 90])
ylim([-50 0])
xlabel("theta")
grid on
xlabel("theta")
ylabel("Normalized Pattern [dB]")
title("left beam and right beam of amplitude comparison monopulse")
legend(‘left beam’,’right beam’)
%% sum & difference
w_sum = w_left + w_right;
w_diff = w_left – w_right;
Beam_sum = Beam_left + Beam_right;
Beam_sum2 = sum(Beam_sum, 1);
Beam_sum3 = abs(Beam_sum2/max(Beam_sum2));
Beam_diff = Beam_left – Beam_right;
Beam_diff2 = sum(Beam_diff,1);
Beam_diff3 = abs(Beam_diff2/max(Beam_diff2));
figure(3)
plot(theta,20*log10((Beam_sum3)))
hold on
plot(theta,20*log10((Beam_diff3)))
xlim([-90 90])
ylim([-30 0])
xlabel("theta")
grid on
xlabel("theta")
ylabel("Normalized Pattern [dB]")
title("sum and difference beam pattern in dB")
legend(‘sum beam’,’difference beam’)
%% error voltage
% err_vol = real((w_diff.’*p_th2)./(w_sum.’*p_th2));
% err_vol = sum(err_vol,1);
in this code , left beam and right beam is correct?
this case i think sum beam and diffence beam figure is needed to exchange but i can’t find error in this code clc; clear all; close all;
% Transmitted signal
f = 3e8; %[Hz]
c = 3e8;
lambda = c/f;
N = 10; %number of element
theta = -89:0.05:89;
theta_0 = 0;
d = lambda / 2;
Nx = 10;
theta_steering = 5; % steering 각도 +-5
at = exp(1j*2*(0:N-1)’*pi*d/lambda*sind((theta)/2));
w_left = exp(-1j*2*(0:N-1)’*pi*d/lambda*sind((theta_0)-(theta_steering)));
w_right = exp(-1j*2*(0:N-1)’*pi*d/lambda*sind((theta_0)+(theta_steering)));
Beam_left = w_left.*exp(1j*2*(0:N-1)’*pi*d/lambda*sind((theta)));
Beam_right = w_right.*exp(1j*2*(0:N-1)’*pi*d/lambda*sind((theta)));
Beam_left2 = sum(Beam_left,1);
Beam_left3 = abs(Beam_left2/max(Beam_left2));
Beam_right2 = sum(Beam_right,1);
Beam_right3 = abs(Beam_right2/max(Beam_right2));
figure(2)
plot(theta,20*log10((Beam_left3)))
hold on
plot(theta,20*log10((Beam_right3)))
xlim([-90 90])
ylim([-50 0])
xlabel("theta")
grid on
xlabel("theta")
ylabel("Normalized Pattern [dB]")
title("left beam and right beam of amplitude comparison monopulse")
legend(‘left beam’,’right beam’)
%% sum & difference
w_sum = w_left + w_right;
w_diff = w_left – w_right;
Beam_sum = Beam_left + Beam_right;
Beam_sum2 = sum(Beam_sum, 1);
Beam_sum3 = abs(Beam_sum2/max(Beam_sum2));
Beam_diff = Beam_left – Beam_right;
Beam_diff2 = sum(Beam_diff,1);
Beam_diff3 = abs(Beam_diff2/max(Beam_diff2));
figure(3)
plot(theta,20*log10((Beam_sum3)))
hold on
plot(theta,20*log10((Beam_diff3)))
xlim([-90 90])
ylim([-30 0])
xlabel("theta")
grid on
xlabel("theta")
ylabel("Normalized Pattern [dB]")
title("sum and difference beam pattern in dB")
legend(‘sum beam’,’difference beam’)
%% error voltage
% err_vol = real((w_diff.’*p_th2)./(w_sum.’*p_th2));
% err_vol = sum(err_vol,1);
in this code , left beam and right beam is correct?
this case i think sum beam and diffence beam figure is needed to exchange but i can’t find error in this code monopulse, linear array, error curve MATLAB Answers — New Questions
TI ARM C++14 & Polyspace: Error “std::underlying_type cv::AccessFlag has no member ‘type’” in
Hi all,
I’m encountering an error while compiling my project with the TI -> ARM compiler using Polyspace in C++14 mode.
Opencv code follows:
enum AccessFlag {
ACCESS_READ = 1 << 24,
ACCESS_WRITE = 1 << 25,
ACCESS_RW = 3 << 24,
ACCESS_MASK = ACCESS_RW,
ACCESS_FAST = 1 << 26
};
CV_ENUM_FLAGS(AccessFlag) ——> Error in this line
During compilation, I get the following error in <type_traits>:
Error: static assertion failed with "The underyling_type trait requires compiler support. Either no such support exists or libc++ does not know how to use it."
static_assert(_Support, "The underyling_type trait requires compiler "
^
detected during instantiation of class "std::underlying_type<_Tp, _Support> [with _Tp=cv::AccessFlag, _Support=0]" at line 66 of "C:opencvincludeopencv4opencv2coremat.hpp"
Error: class "std::underlying_type<cv::AccessFlag>" has no member "type"
The static assertion in <type_traits> is triggered, indicating that the TI ARM standard library may not fully support this feature eventhough using cpp14.
Has anyone encountered this issue when using TI ARM’s compiler (with Polyspace) in C++14 mode are there any recommended workarounds?
Thanks in advance.Hi all,
I’m encountering an error while compiling my project with the TI -> ARM compiler using Polyspace in C++14 mode.
Opencv code follows:
enum AccessFlag {
ACCESS_READ = 1 << 24,
ACCESS_WRITE = 1 << 25,
ACCESS_RW = 3 << 24,
ACCESS_MASK = ACCESS_RW,
ACCESS_FAST = 1 << 26
};
CV_ENUM_FLAGS(AccessFlag) ——> Error in this line
During compilation, I get the following error in <type_traits>:
Error: static assertion failed with "The underyling_type trait requires compiler support. Either no such support exists or libc++ does not know how to use it."
static_assert(_Support, "The underyling_type trait requires compiler "
^
detected during instantiation of class "std::underlying_type<_Tp, _Support> [with _Tp=cv::AccessFlag, _Support=0]" at line 66 of "C:opencvincludeopencv4opencv2coremat.hpp"
Error: class "std::underlying_type<cv::AccessFlag>" has no member "type"
The static assertion in <type_traits> is triggered, indicating that the TI ARM standard library may not fully support this feature eventhough using cpp14.
Has anyone encountered this issue when using TI ARM’s compiler (with Polyspace) in C++14 mode are there any recommended workarounds?
Thanks in advance. Hi all,
I’m encountering an error while compiling my project with the TI -> ARM compiler using Polyspace in C++14 mode.
Opencv code follows:
enum AccessFlag {
ACCESS_READ = 1 << 24,
ACCESS_WRITE = 1 << 25,
ACCESS_RW = 3 << 24,
ACCESS_MASK = ACCESS_RW,
ACCESS_FAST = 1 << 26
};
CV_ENUM_FLAGS(AccessFlag) ——> Error in this line
During compilation, I get the following error in <type_traits>:
Error: static assertion failed with "The underyling_type trait requires compiler support. Either no such support exists or libc++ does not know how to use it."
static_assert(_Support, "The underyling_type trait requires compiler "
^
detected during instantiation of class "std::underlying_type<_Tp, _Support> [with _Tp=cv::AccessFlag, _Support=0]" at line 66 of "C:opencvincludeopencv4opencv2coremat.hpp"
Error: class "std::underlying_type<cv::AccessFlag>" has no member "type"
The static assertion in <type_traits> is triggered, indicating that the TI ARM standard library may not fully support this feature eventhough using cpp14.
Has anyone encountered this issue when using TI ARM’s compiler (with Polyspace) in C++14 mode are there any recommended workarounds?
Thanks in advance. polyspace, opencv, type_traits, standard header, ti arm, compiler, stdlib, libcxx MATLAB Answers — New Questions
Any help out ther for “Error 1,731: Activations are not allowed when License Management is set to MathWorks hosted license manager”?
I loaded a trial version of Matlab/Simulink and received the subject error when trying to activate the product. Does anyone have any recommendations for fixing this issue?I loaded a trial version of Matlab/Simulink and received the subject error when trying to activate the product. Does anyone have any recommendations for fixing this issue? I loaded a trial version of Matlab/Simulink and received the subject error when trying to activate the product. Does anyone have any recommendations for fixing this issue? activation, license MATLAB Answers — New Questions
simulink filter compatible with HDL coder
is there a simulink filter block thats compatible with HDL coder?is there a simulink filter block thats compatible with HDL coder? is there a simulink filter block thats compatible with HDL coder? simulink filter hdl MATLAB Answers — New Questions
[Solved] MATLAB function file when compiled into a standalone application does not print output on the command prompt
I have a matlab function file – ‘MATLABxx.m’. It works as expected and prints a desired output text in the command prompt whenever executed.
I have enabled ‘diary’ in it which captures the text from command prompt.
But now when I have compiled it into a standalone application – ‘MATLABxx.exe’, it does not print the desired output in command prompt. Although the same is captured in diary!
I have compiled it using the -‘Application Compiler’ option.
Can anyone help me out here? I need the desired output to be printed in the command prompt, as another Application (which I cannot touch/change) reads that output for further processing!
Have I missed adding a flag during compilation which is causing this?
——————————————————————————————————————————————————————–
[Solved]
Found another thread with similar issue – Problem with displaying output of executable – MATLAB Answers – MATLAB Central (mathworks.com)
This suggests to uncheck an option in ‘Additional runtime Settings’ in the ‘Application Compiler’. And it works for Windows!!
This issue does not happen on Linux.I have a matlab function file – ‘MATLABxx.m’. It works as expected and prints a desired output text in the command prompt whenever executed.
I have enabled ‘diary’ in it which captures the text from command prompt.
But now when I have compiled it into a standalone application – ‘MATLABxx.exe’, it does not print the desired output in command prompt. Although the same is captured in diary!
I have compiled it using the -‘Application Compiler’ option.
Can anyone help me out here? I need the desired output to be printed in the command prompt, as another Application (which I cannot touch/change) reads that output for further processing!
Have I missed adding a flag during compilation which is causing this?
——————————————————————————————————————————————————————–
[Solved]
Found another thread with similar issue – Problem with displaying output of executable – MATLAB Answers – MATLAB Central (mathworks.com)
This suggests to uncheck an option in ‘Additional runtime Settings’ in the ‘Application Compiler’. And it works for Windows!!
This issue does not happen on Linux. I have a matlab function file – ‘MATLABxx.m’. It works as expected and prints a desired output text in the command prompt whenever executed.
I have enabled ‘diary’ in it which captures the text from command prompt.
But now when I have compiled it into a standalone application – ‘MATLABxx.exe’, it does not print the desired output in command prompt. Although the same is captured in diary!
I have compiled it using the -‘Application Compiler’ option.
Can anyone help me out here? I need the desired output to be printed in the command prompt, as another Application (which I cannot touch/change) reads that output for further processing!
Have I missed adding a flag during compilation which is causing this?
——————————————————————————————————————————————————————–
[Solved]
Found another thread with similar issue – Problem with displaying output of executable – MATLAB Answers – MATLAB Central (mathworks.com)
This suggests to uncheck an option in ‘Additional runtime Settings’ in the ‘Application Compiler’. And it works for Windows!!
This issue does not happen on Linux. application compiler, compiler, matlab compiler MATLAB Answers — New Questions
Matlab Startup Unable to Access pathdef.m
I am an intern working at a fairly large organization, and I’ve recently been given access to a multiuser computer with matlab on it to perform my work. Upon startup, I am met with the following message.
C:Program FilesMATLABR2015atoolboxlocalpathdef.m: Cannot open file: permission denied.
Warning: MATLAB did not appear to successfully set the search path. To recover for this session of MATLAB, type "restoredefaultpath;matlabrc". To find out how to avoid this warning the next time you start MATLAB, type "docsearch problem path" after recovering for this session.
Warning: Duplicate directory name: C:Program FilesMATLABR2015atoolboxlocal
Warning: Initializing Java preferences failed in matlabrc.
This indicates a potentially serious problem in your MATLAB setup, which should be resolved as soon as possible. Error detected was:
MATLAB:UndefinedFunction
Undefined function ‘usejava’ for input arguments of type ‘char’.
> In matlabrc (line 118)
Warning: Initializing MATLAB Graphics failed.
This indicates a potentially serious problem in your MATLAB setup, which should be resolved as soon as possible. Error detected was:
MATLAB:UndefinedFunction
Undefined function or variable ‘ismac’.
> In hgrc (line 145)
In matlabrc (line 148)
Warning: Failed to add default profiler filters.
> In matlabrc (line 157)
Undefined function or variable ‘usejava’.
Error in matlabrc (line 187)
if ~(ismcc || isdeployed || feature(‘isdmlworker’)) && usejava(‘jvm’)
Exception in thread "AWT-EventQueue-0" java.lang.NullPointerException
at com.mathworks.mlwidgets.graphics.ModelStateFactory.createNoSelectionModelState(ModelStateFactory.java:251)
at com.mathworks.mlwidgets.graphics.PlotToolSetFactory$3.parseComplete(PlotToolSetFactory.java:123)
at com.mathworks.mlwidgets.graphics.ModelStateFactory$ProductInfoListener$1$1.run(ModelStateFactory.java:1032)
at java.awt.event.InvocationEvent.dispatch(Unknown Source)
at java.awt.EventQueue.dispatchEventImpl(Unknown Source)
at java.awt.EventQueue.access$200(Unknown Source)
at java.awt.EventQueue$3.run(Unknown Source)
at java.awt.EventQueue$3.run(Unknown Source)
at java.security.AccessController.doPrivileged(Native Method)
at java.security.ProtectionDomain$1.doIntersectionPrivilege(Unknown Source)
at java.awt.EventQueue.dispatchEvent(Unknown Source)
at java.awt.EventDispatchThread.pumpOneEventForFilters(Unknown Source)
at java.awt.EventDispatchThread.pumpEventsForFilter(Unknown Source)
at java.awt.EventDispatchThread.pumpEventsForHierarchy(Unknown Source)
at java.awt.EventDispatchThread.pumpEvents(Unknown Source)
at java.awt.EventDispatchThread.pumpEvents(Unknown Source)
at java.awt.EventDispatchThread.run(Unknown Source)
Running "restoredefaultpath;matlabrc" does restore some matlab functionality, but there is also a toolbox which I need to use for my work which cannot be accessed in this case. This problem does not manifest itself in administrator mode, but as an intern I cannot be given permanent administrator status simply to fix a glitch with matlab. None of the other non-admin users have this issue, and they have the same permissions as I do. Does anyone have a solution to this issue?
Thank you
JacobI am an intern working at a fairly large organization, and I’ve recently been given access to a multiuser computer with matlab on it to perform my work. Upon startup, I am met with the following message.
C:Program FilesMATLABR2015atoolboxlocalpathdef.m: Cannot open file: permission denied.
Warning: MATLAB did not appear to successfully set the search path. To recover for this session of MATLAB, type "restoredefaultpath;matlabrc". To find out how to avoid this warning the next time you start MATLAB, type "docsearch problem path" after recovering for this session.
Warning: Duplicate directory name: C:Program FilesMATLABR2015atoolboxlocal
Warning: Initializing Java preferences failed in matlabrc.
This indicates a potentially serious problem in your MATLAB setup, which should be resolved as soon as possible. Error detected was:
MATLAB:UndefinedFunction
Undefined function ‘usejava’ for input arguments of type ‘char’.
> In matlabrc (line 118)
Warning: Initializing MATLAB Graphics failed.
This indicates a potentially serious problem in your MATLAB setup, which should be resolved as soon as possible. Error detected was:
MATLAB:UndefinedFunction
Undefined function or variable ‘ismac’.
> In hgrc (line 145)
In matlabrc (line 148)
Warning: Failed to add default profiler filters.
> In matlabrc (line 157)
Undefined function or variable ‘usejava’.
Error in matlabrc (line 187)
if ~(ismcc || isdeployed || feature(‘isdmlworker’)) && usejava(‘jvm’)
Exception in thread "AWT-EventQueue-0" java.lang.NullPointerException
at com.mathworks.mlwidgets.graphics.ModelStateFactory.createNoSelectionModelState(ModelStateFactory.java:251)
at com.mathworks.mlwidgets.graphics.PlotToolSetFactory$3.parseComplete(PlotToolSetFactory.java:123)
at com.mathworks.mlwidgets.graphics.ModelStateFactory$ProductInfoListener$1$1.run(ModelStateFactory.java:1032)
at java.awt.event.InvocationEvent.dispatch(Unknown Source)
at java.awt.EventQueue.dispatchEventImpl(Unknown Source)
at java.awt.EventQueue.access$200(Unknown Source)
at java.awt.EventQueue$3.run(Unknown Source)
at java.awt.EventQueue$3.run(Unknown Source)
at java.security.AccessController.doPrivileged(Native Method)
at java.security.ProtectionDomain$1.doIntersectionPrivilege(Unknown Source)
at java.awt.EventQueue.dispatchEvent(Unknown Source)
at java.awt.EventDispatchThread.pumpOneEventForFilters(Unknown Source)
at java.awt.EventDispatchThread.pumpEventsForFilter(Unknown Source)
at java.awt.EventDispatchThread.pumpEventsForHierarchy(Unknown Source)
at java.awt.EventDispatchThread.pumpEvents(Unknown Source)
at java.awt.EventDispatchThread.pumpEvents(Unknown Source)
at java.awt.EventDispatchThread.run(Unknown Source)
Running "restoredefaultpath;matlabrc" does restore some matlab functionality, but there is also a toolbox which I need to use for my work which cannot be accessed in this case. This problem does not manifest itself in administrator mode, but as an intern I cannot be given permanent administrator status simply to fix a glitch with matlab. None of the other non-admin users have this issue, and they have the same permissions as I do. Does anyone have a solution to this issue?
Thank you
Jacob I am an intern working at a fairly large organization, and I’ve recently been given access to a multiuser computer with matlab on it to perform my work. Upon startup, I am met with the following message.
C:Program FilesMATLABR2015atoolboxlocalpathdef.m: Cannot open file: permission denied.
Warning: MATLAB did not appear to successfully set the search path. To recover for this session of MATLAB, type "restoredefaultpath;matlabrc". To find out how to avoid this warning the next time you start MATLAB, type "docsearch problem path" after recovering for this session.
Warning: Duplicate directory name: C:Program FilesMATLABR2015atoolboxlocal
Warning: Initializing Java preferences failed in matlabrc.
This indicates a potentially serious problem in your MATLAB setup, which should be resolved as soon as possible. Error detected was:
MATLAB:UndefinedFunction
Undefined function ‘usejava’ for input arguments of type ‘char’.
> In matlabrc (line 118)
Warning: Initializing MATLAB Graphics failed.
This indicates a potentially serious problem in your MATLAB setup, which should be resolved as soon as possible. Error detected was:
MATLAB:UndefinedFunction
Undefined function or variable ‘ismac’.
> In hgrc (line 145)
In matlabrc (line 148)
Warning: Failed to add default profiler filters.
> In matlabrc (line 157)
Undefined function or variable ‘usejava’.
Error in matlabrc (line 187)
if ~(ismcc || isdeployed || feature(‘isdmlworker’)) && usejava(‘jvm’)
Exception in thread "AWT-EventQueue-0" java.lang.NullPointerException
at com.mathworks.mlwidgets.graphics.ModelStateFactory.createNoSelectionModelState(ModelStateFactory.java:251)
at com.mathworks.mlwidgets.graphics.PlotToolSetFactory$3.parseComplete(PlotToolSetFactory.java:123)
at com.mathworks.mlwidgets.graphics.ModelStateFactory$ProductInfoListener$1$1.run(ModelStateFactory.java:1032)
at java.awt.event.InvocationEvent.dispatch(Unknown Source)
at java.awt.EventQueue.dispatchEventImpl(Unknown Source)
at java.awt.EventQueue.access$200(Unknown Source)
at java.awt.EventQueue$3.run(Unknown Source)
at java.awt.EventQueue$3.run(Unknown Source)
at java.security.AccessController.doPrivileged(Native Method)
at java.security.ProtectionDomain$1.doIntersectionPrivilege(Unknown Source)
at java.awt.EventQueue.dispatchEvent(Unknown Source)
at java.awt.EventDispatchThread.pumpOneEventForFilters(Unknown Source)
at java.awt.EventDispatchThread.pumpEventsForFilter(Unknown Source)
at java.awt.EventDispatchThread.pumpEventsForHierarchy(Unknown Source)
at java.awt.EventDispatchThread.pumpEvents(Unknown Source)
at java.awt.EventDispatchThread.pumpEvents(Unknown Source)
at java.awt.EventDispatchThread.run(Unknown Source)
Running "restoredefaultpath;matlabrc" does restore some matlab functionality, but there is also a toolbox which I need to use for my work which cannot be accessed in this case. This problem does not manifest itself in administrator mode, but as an intern I cannot be given permanent administrator status simply to fix a glitch with matlab. None of the other non-admin users have this issue, and they have the same permissions as I do. Does anyone have a solution to this issue?
Thank you
Jacob pathdef.m, startup, path MATLAB Answers — New Questions
Problems printing graphics in pdf format
Since some time ago the graphs generated in matlab are saved empty in pdf format with the print function. This happens especially with the heatmap typeSince some time ago the graphs generated in matlab are saved empty in pdf format with the print function. This happens especially with the heatmap type Since some time ago the graphs generated in matlab are saved empty in pdf format with the print function. This happens especially with the heatmap type print pdf MATLAB Answers — New Questions
Which version of Adaptive Platform Demonstrator is supported for AUTOSAR Blockset R2019b?
I am trying to integrate the Adaptive AUTOSAR Lane Guidance Example algorithm given in the AUTOSAR Blockset Documentation into the Adaptive Demonstrator 19-03. To view the example used, you can access the release-specific documentation by executing the following command in the MATLAB R2019b command window:
>> web(fullfile(docroot, ‘autosar/ug/example-generate-autosar-adaptive-code-and-xml-descriptions.html’))
Unfortunately, the generated code for the Lane Guidance example is throwing a lot of errors during cross-compilation. Which version of the Demonstrator was used by MathWorks to test the Lane Guidance example?I am trying to integrate the Adaptive AUTOSAR Lane Guidance Example algorithm given in the AUTOSAR Blockset Documentation into the Adaptive Demonstrator 19-03. To view the example used, you can access the release-specific documentation by executing the following command in the MATLAB R2019b command window:
>> web(fullfile(docroot, ‘autosar/ug/example-generate-autosar-adaptive-code-and-xml-descriptions.html’))
Unfortunately, the generated code for the Lane Guidance example is throwing a lot of errors during cross-compilation. Which version of the Demonstrator was used by MathWorks to test the Lane Guidance example? I am trying to integrate the Adaptive AUTOSAR Lane Guidance Example algorithm given in the AUTOSAR Blockset Documentation into the Adaptive Demonstrator 19-03. To view the example used, you can access the release-specific documentation by executing the following command in the MATLAB R2019b command window:
>> web(fullfile(docroot, ‘autosar/ug/example-generate-autosar-adaptive-code-and-xml-descriptions.html’))
Unfortunately, the generated code for the Lane Guidance example is throwing a lot of errors during cross-compilation. Which version of the Demonstrator was used by MathWorks to test the Lane Guidance example? MATLAB Answers — New Questions
Issues extracting fibers from an image
Dear Community,
I am trying to extract fibers from a microscopy image:
My most succesfull try looks like this:
image = imread(imagepath);
image = rescale(image);
image = imgaussfilt(image, 0.7);
image = adapthisteq(image, ‘NumTiles’,[100 100],’ClipLimit’,0.1, ‘NBins’, 100);
T = adaptthresh(image,0.9);
image = imbinarize(image,T);
Which results in
As you can see, not all lines are found, and some background noise is wrongfully included. I have also tried edgedetection using all the included algorithms using
methods = {"Sobel", "Prewitt","Roberts","log","zerocross","Canny"};
for k = 1:length(methods)
tmp= adapthisteq(image, ‘NumTiles’,[200 200],’ClipLimit’,0.1, ‘NBins’, 100);
[~,threshold] = edge(tmp,methods{k});
fudgeFactor = 0.7;
edge_detected = edge(tmp,methods{k},threshold * fudgeFactor);
end
all with unconnected lines like in the image below:
Since this is not really my field, I am now running out of ideas. I have played around with morphological operations and skelletonizing, but to no avail. Next I will probably look at specialized software and seed growing approaches, but I wanted to try asking the community first in case I was missing something obvious.
Thank you for your time and Help!Dear Community,
I am trying to extract fibers from a microscopy image:
My most succesfull try looks like this:
image = imread(imagepath);
image = rescale(image);
image = imgaussfilt(image, 0.7);
image = adapthisteq(image, ‘NumTiles’,[100 100],’ClipLimit’,0.1, ‘NBins’, 100);
T = adaptthresh(image,0.9);
image = imbinarize(image,T);
Which results in
As you can see, not all lines are found, and some background noise is wrongfully included. I have also tried edgedetection using all the included algorithms using
methods = {"Sobel", "Prewitt","Roberts","log","zerocross","Canny"};
for k = 1:length(methods)
tmp= adapthisteq(image, ‘NumTiles’,[200 200],’ClipLimit’,0.1, ‘NBins’, 100);
[~,threshold] = edge(tmp,methods{k});
fudgeFactor = 0.7;
edge_detected = edge(tmp,methods{k},threshold * fudgeFactor);
end
all with unconnected lines like in the image below:
Since this is not really my field, I am now running out of ideas. I have played around with morphological operations and skelletonizing, but to no avail. Next I will probably look at specialized software and seed growing approaches, but I wanted to try asking the community first in case I was missing something obvious.
Thank you for your time and Help! Dear Community,
I am trying to extract fibers from a microscopy image:
My most succesfull try looks like this:
image = imread(imagepath);
image = rescale(image);
image = imgaussfilt(image, 0.7);
image = adapthisteq(image, ‘NumTiles’,[100 100],’ClipLimit’,0.1, ‘NBins’, 100);
T = adaptthresh(image,0.9);
image = imbinarize(image,T);
Which results in
As you can see, not all lines are found, and some background noise is wrongfully included. I have also tried edgedetection using all the included algorithms using
methods = {"Sobel", "Prewitt","Roberts","log","zerocross","Canny"};
for k = 1:length(methods)
tmp= adapthisteq(image, ‘NumTiles’,[200 200],’ClipLimit’,0.1, ‘NBins’, 100);
[~,threshold] = edge(tmp,methods{k});
fudgeFactor = 0.7;
edge_detected = edge(tmp,methods{k},threshold * fudgeFactor);
end
all with unconnected lines like in the image below:
Since this is not really my field, I am now running out of ideas. I have played around with morphological operations and skelletonizing, but to no avail. Next I will probably look at specialized software and seed growing approaches, but I wanted to try asking the community first in case I was missing something obvious.
Thank you for your time and Help! image, image analysis, image processing, edge detection, masking, fibers, thresholding MATLAB Answers — New Questions
Real-Time Interface between App in AppDesigner and Simulink using parsim – Error: not enough input arguments @(x)addlistener
More questions to the topic.
https://de.mathworks.com/matlabcentral/answers/2173224-real-time-interface-between-app-in-appdesigner-and-simulink-using-parsim#answer_1558008
Error using nhf>@(x)addlistener(x,’SimulationOutput’,’PostSimFcn’,listener) (line 233)
Not enough input arguments.
in my simulink-modell i do the following. Is something wrong here?
Should i write listener = @nhf (Class)?
This function run in nhf (Class)
function Simulate(obj)
for simNr = numel(obj.Data):-1:1
in(simNr) = Simulink.SimulationInput(obj.simModel);
for prop = fieldnames(obj.Data(simNr))’
in(simNr) = in(simNr).setVariable(char(prop), obj.Data(simNr).(char(prop)));
% tbd: assign to baseworkspace
% assignin(‘base’,char(prop), obj.Data(simNr).(char(prop)));
end
if isdeployed
in(simNr) = simulink.compiler.configureForDeployment(in(simNr));
end
end
% – Disable the automatic opening of the visualization viewer
% – Should be done for all models before compiling
% ————————————————————-
%open_system(obj.simModel);
%set_param(obj.simModel, ‘SimMechanicsOpenEditorOnUpdate’, ‘off’);
% Set up the listener for progress updates
listener = @(src,event) updateProgress(app,event);
% Save results internally
obj.simOut = parsim(in, …
‘ShowProgress’,’on’,…
‘TransferBaseWorkspaceVariables’,’on’,…
‘SetupFcn’,@(x) addlistener(x, ‘SimulationOutput’, ‘PostSimFcn’, listener));
What is wrong in the function (‘SetupFcn’, @(x) addlistener(x, ‘SimulationOutput’, ‘PostSimFcn’, listener) ?
Is the function in simulink wrong?More questions to the topic.
https://de.mathworks.com/matlabcentral/answers/2173224-real-time-interface-between-app-in-appdesigner-and-simulink-using-parsim#answer_1558008
Error using nhf>@(x)addlistener(x,’SimulationOutput’,’PostSimFcn’,listener) (line 233)
Not enough input arguments.
in my simulink-modell i do the following. Is something wrong here?
Should i write listener = @nhf (Class)?
This function run in nhf (Class)
function Simulate(obj)
for simNr = numel(obj.Data):-1:1
in(simNr) = Simulink.SimulationInput(obj.simModel);
for prop = fieldnames(obj.Data(simNr))’
in(simNr) = in(simNr).setVariable(char(prop), obj.Data(simNr).(char(prop)));
% tbd: assign to baseworkspace
% assignin(‘base’,char(prop), obj.Data(simNr).(char(prop)));
end
if isdeployed
in(simNr) = simulink.compiler.configureForDeployment(in(simNr));
end
end
% – Disable the automatic opening of the visualization viewer
% – Should be done for all models before compiling
% ————————————————————-
%open_system(obj.simModel);
%set_param(obj.simModel, ‘SimMechanicsOpenEditorOnUpdate’, ‘off’);
% Set up the listener for progress updates
listener = @(src,event) updateProgress(app,event);
% Save results internally
obj.simOut = parsim(in, …
‘ShowProgress’,’on’,…
‘TransferBaseWorkspaceVariables’,’on’,…
‘SetupFcn’,@(x) addlistener(x, ‘SimulationOutput’, ‘PostSimFcn’, listener));
What is wrong in the function (‘SetupFcn’, @(x) addlistener(x, ‘SimulationOutput’, ‘PostSimFcn’, listener) ?
Is the function in simulink wrong? More questions to the topic.
https://de.mathworks.com/matlabcentral/answers/2173224-real-time-interface-between-app-in-appdesigner-and-simulink-using-parsim#answer_1558008
Error using nhf>@(x)addlistener(x,’SimulationOutput’,’PostSimFcn’,listener) (line 233)
Not enough input arguments.
in my simulink-modell i do the following. Is something wrong here?
Should i write listener = @nhf (Class)?
This function run in nhf (Class)
function Simulate(obj)
for simNr = numel(obj.Data):-1:1
in(simNr) = Simulink.SimulationInput(obj.simModel);
for prop = fieldnames(obj.Data(simNr))’
in(simNr) = in(simNr).setVariable(char(prop), obj.Data(simNr).(char(prop)));
% tbd: assign to baseworkspace
% assignin(‘base’,char(prop), obj.Data(simNr).(char(prop)));
end
if isdeployed
in(simNr) = simulink.compiler.configureForDeployment(in(simNr));
end
end
% – Disable the automatic opening of the visualization viewer
% – Should be done for all models before compiling
% ————————————————————-
%open_system(obj.simModel);
%set_param(obj.simModel, ‘SimMechanicsOpenEditorOnUpdate’, ‘off’);
% Set up the listener for progress updates
listener = @(src,event) updateProgress(app,event);
% Save results internally
obj.simOut = parsim(in, …
‘ShowProgress’,’on’,…
‘TransferBaseWorkspaceVariables’,’on’,…
‘SetupFcn’,@(x) addlistener(x, ‘SimulationOutput’, ‘PostSimFcn’, listener));
What is wrong in the function (‘SetupFcn’, @(x) addlistener(x, ‘SimulationOutput’, ‘PostSimFcn’, listener) ?
Is the function in simulink wrong? startfcn, addlistener, listener, parsim, exec_event_listener, appdesigner, simulink MATLAB Answers — New Questions
How to make mlx export to use word’s default template?
When I use ‘export’ on a Live Script mlx file to docx, the output is created without the word template.
However, when use ‘publish’ on an m file, the output doc file uses the default word template.
How can I make mlx’s ‘export’ function use the default word’s template?When I use ‘export’ on a Live Script mlx file to docx, the output is created without the word template.
However, when use ‘publish’ on an m file, the output doc file uses the default word template.
How can I make mlx’s ‘export’ function use the default word’s template? When I use ‘export’ on a Live Script mlx file to docx, the output is created without the word template.
However, when use ‘publish’ on an m file, the output doc file uses the default word template.
How can I make mlx’s ‘export’ function use the default word’s template? export, publish, word, template, active script, mlx, docx MATLAB Answers — New Questions