You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
This if main.m, and it calls another file addTwo.m
main.m
a = 20;
b = 30;
c = addTwo(a,b);
disp(c);
addTwo.m function addition = addTwo(a,b) addition = a+b;
If I am trying to convert addTwo.m it converts perfectly but when I try to convert main.m, it fails
The out put it generated is :
main.py
import numpy as np
import scipy
import matcompat
try:
import matplotlib.pylab as plt
except ImportError:
pass
am I doing something wrong? because I have seen that in your Test/ folder the file cheby.m is being called by cheb3plot.m and your code works perfectly fine for this.
The text was updated successfully, but these errors were encountered:
This if main.m, and it calls another file addTwo.m
main.m
addTwo.m
function addition = addTwo(a,b) addition = a+b;
If I am trying to convert addTwo.m it converts perfectly but when I try to convert main.m, it fails
The out put it generated is :
main.py
am I doing something wrong? because I have seen that in your Test/ folder the file cheby.m is being called by cheb3plot.m and your code works perfectly fine for this.
The text was updated successfully, but these errors were encountered: